svn commit: r506496 - head/games/rubix
Mark Linimon
linimon at FreeBSD.org
Fri Jul 12 23:55:55 UTC 2019
Author: linimon
Date: Fri Jul 12 23:55:54 2019
New Revision: 506496
URL: https://svnweb.freebsd.org/changeset/ports/506496
Log:
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".
Modified:
head/games/rubix/Makefile
Modified: head/games/rubix/Makefile
==============================================================================
--- head/games/rubix/Makefile Fri Jul 12 23:19:53 2019 (r506495)
+++ head/games/rubix/Makefile Fri Jul 12 23:55:54 2019 (r506496)
@@ -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
More information about the svn-ports-head
mailing list