Files
termux-packages/packages/doxygen/0001-disable-ipo.patch
termux-pacman-bot 24e790e040 bump(main/doxygen): 1.15.0
IPO was added in 93e77ba274
The linker error was workaround by disabling IPO with same patch as in valkey.
2025-10-22 14:41:07 +00:00

17 lines
630 B
Diff

# Fixes the following linker error:
# /usr/bin/ld.gold: error: .../LLVMgold.so: could not load plugin library:
# .../LLVMgold.so: cannot open shared object file: No such file or directory
# /usr/bin/ld.gold: fatal error: .../crtbegin_dynamic.o: unsupported ELF machine number 183
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,7 +37,7 @@
option(enable_lex_debug "Enable debugging info for lexical scanners in release builds [development]" OFF)
if(CMAKE_BUILD_TYPE STREQUAL "Release")
- set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
+ set(CMAKE_INTERPROCEDURAL_OPTIMIZATION FALSE)
endif()
include(CheckCXXCompilerFlag)