Disable LTO on riscv64, it breaks the build at link time
ok thfr@ (maintainer)
This commit is contained in:
parent
0377bf4f47
commit
e0f9caf8f7
@ -39,6 +39,12 @@ CONFIGURE_ARGS = -DBUILD_CRASHHANDLER=OFF \
|
|||||||
-DCMAKE_INSTALL_PREFIX=${LOCALBASE}/share/arx \
|
-DCMAKE_INSTALL_PREFIX=${LOCALBASE}/share/arx \
|
||||||
-DUNITY_BUILD=OFF
|
-DUNITY_BUILD=OFF
|
||||||
|
|
||||||
|
# ld: error: linking module flags 'SmallDataLimit': IDs have conflicting values in
|
||||||
|
# 'CMakeFiles/common.dir/src/io/log/ConsoleLogger.cpp.o' and 'ld-temp.o'
|
||||||
|
.if ${MACHINE_ARCH} == "riscv64"
|
||||||
|
CONFIGURE_ARGS += -DUSE_LTO=OFF
|
||||||
|
.endif
|
||||||
|
|
||||||
MODCMAKE_LDFLAGS = -lpthread
|
MODCMAKE_LDFLAGS = -lpthread
|
||||||
|
|
||||||
PORTHOME = ${WRKDIR}
|
PORTHOME = ${WRKDIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user