Re-enable LTO on riscv64

This commit is contained in:
jca 2022-12-30 06:31:52 +00:00
parent d561a1441f
commit cde3b5cb3f
1 changed files with 1 additions and 6 deletions

View File

@ -7,6 +7,7 @@ PKGNAME = arx-libertatis-${GH_TAGNAME}
GH_ACCOUNT = arx
GH_PROJECT = ArxLibertatis
GH_TAGNAME = 1.2.1
REVISION = 0
SHARED_LIBS += ArxIO 0.0 # 1.2
@ -39,12 +40,6 @@ CONFIGURE_ARGS = -DBUILD_CRASHHANDLER=OFF \
-DCMAKE_INSTALL_PREFIX=${LOCALBASE}/share/arx \
-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
PORTHOME = ${WRKDIR}