Date: Fri, 12 Jul 2019 23:55:54 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506496 - head/games/rubix Message-ID: <201907122355.x6CNtsXJ004961@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907122355.x6CNtsXJ004961>