summaryrefslogtreecommitdiff
path: root/devel/gmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gmp/Makefile')
-rw-r--r--devel/gmp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/gmp/Makefile b/devel/gmp/Makefile
index a8f6dd205df..f61434d8692 100644
--- a/devel/gmp/Makefile
+++ b/devel/gmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2005/05/22 20:07:51 jlam Exp $
+# $NetBSD: Makefile,v 1.37 2005/10/21 15:46:43 jschauma Exp $
DISTNAME= gmp-4.1.4
PKGREVISION= 1
@@ -27,6 +27,12 @@ TEST_TARGET= check
ABI= o32
.endif
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mmipspro)
+CFLAGS+= -c99
+.endif
+
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
# The configure script thinks gcc 2.95 for ARM is too buggy to use.
GCC_REQD+= 3.0