mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Fix for lack of LTO with ld.bfd from Brad Smith
Fixes the build for sparc64
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
BROKEN-sparc64 = CMake Error:Link Time Optimization requested, not available
|
||||
|
||||
COMMENT = modern QuakeWorld client
|
||||
|
||||
CATEGORIES = games
|
||||
@@ -38,6 +36,11 @@ NO_TEST = Yes
|
||||
GAMEDIR = ${PREFIX}/share/ezquake
|
||||
SUBST_VARS += GAMEDIR
|
||||
|
||||
.include <bsd.port.arch.mk>
|
||||
.if !${PROPERTIES:Mlld}
|
||||
CONFIGURE_ARGS+=-DENABLE_LTO=Off
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/src/EX_browser_sources.c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user