aboutsummaryrefslogtreecommitdiff
path: root/games/rubix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/rubix/Makefile')
-rw-r--r--games/rubix/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/rubix/Makefile b/games/rubix/Makefile
index b767ed1f8cf9..ee4d665ba6b1 100644
--- a/games/rubix/Makefile
+++ b/games/rubix/Makefile
@@ -24,7 +24,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if (${ARCH} == mips || ${ARCH} == mips64 || ${ARCH} == powerpc || ${ARCH} == powerpc64) && ${CHOSEN_COMPILER_TYPE} == gcc
+.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
CFLAGS+= -fnested-functions
.endif