aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc30/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-11-15 02:37:29 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-11-15 02:37:29 +0000
commit90c441e492446fec99b85a2a8f6ced421e099cad (patch)
tree7656c3efdf00742142d540d2a180b563a3290c9d /lang/gcc30/Makefile
parent4b88e38ec181acbd741fe36f269c6af655d54bce (diff)
downloadports-90c441e492446fec99b85a2a8f6ced421e099cad.tar.gz
ports-90c441e492446fec99b85a2a8f6ced421e099cad.zip
If built on a machine with GCC 3.2 or later; assume the machine has CPUTYPE
set to something GCC 2.95 won't understand.
Notes
Notes: svn path=/head/; revision=121628
Diffstat (limited to 'lang/gcc30/Makefile')
-rw-r--r--lang/gcc30/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/gcc30/Makefile b/lang/gcc30/Makefile
index e0067cbecd17..daf02aca1fae 100644
--- a/lang/gcc30/Makefile
+++ b/lang/gcc30/Makefile
@@ -32,6 +32,9 @@ CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500039
+WITHOUT_CPU_CFLAGS= yes
+.endif
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile"
USE_REINPLACE= yes