aboutsummaryrefslogtreecommitdiff
path: root/games/rubix
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-07-12 23:55:54 +0000
committerMark Linimon <linimon@FreeBSD.org>2019-07-12 23:55:54 +0000
commit96ec6abecd308e55bbffb19e603b179ebf9a14ab (patch)
treec1b27d2549036e0d74ee2ce9e5ba931f201e7cc5 /games/rubix
parent0cc3d6ec2e93080302a7436d763831ef8ef92e11 (diff)
downloadports-96ec6abecd308e55bbffb19e603b179ebf9a14ab.tar.gz
ports-96ec6abecd308e55bbffb19e603b179ebf9a14ab.zip
Prepare for powerpc-on-clang by deleting hard-coded tests for architecture
as a stand-in for "are we running on gcc". This case is an outlier because we need to test for "are we on the ancient base gcc".
Notes
Notes: svn path=/head/; revision=506496
Diffstat (limited to 'games/rubix')
-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