diff --git a/games/ezquake/Makefile b/games/ezquake/Makefile index f36ad39e9c0..4b0fffc2e5b 100644 --- a/games/ezquake/Makefile +++ b/games/ezquake/Makefile @@ -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 +.if !${PROPERTIES:Mlld} +CONFIGURE_ARGS+=-DENABLE_LTO=Off +.endif + pre-configure: ${SUBST_CMD} ${WRKSRC}/src/EX_browser_sources.c