diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2019-07-12 23:55:54 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2019-07-12 23:55:54 +0000 |
commit | 96ec6abecd308e55bbffb19e603b179ebf9a14ab (patch) | |
tree | c1b27d2549036e0d74ee2ce9e5ba931f201e7cc5 /games/rubix/Makefile | |
parent | 0cc3d6ec2e93080302a7436d763831ef8ef92e11 (diff) |
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/Makefile')
-rw-r--r-- | games/rubix/Makefile | 2 |
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 |