diff options
author | jschauma <jschauma@pkgsrc.org> | 2006-04-30 16:58:03 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2006-04-30 16:58:03 +0000 |
commit | 0d223a95103dbfb4865bd07fa1c441538844f42a (patch) | |
tree | 8c0505f4472db8b2da2759894e88cc15d9c9e918 /devel | |
parent | e61f68fde4c8d46d9556d8bc617e580358589789 (diff) | |
download | pkgsrc-0d223a95103dbfb4865bd07fa1c441538844f42a.tar.gz |
when using mipspro compiler, pass '-c99'
Diffstat (limited to 'devel')
-rw-r--r-- | devel/glib2/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile index 071c6045925..16d94c177b9 100644 --- a/devel/glib2/Makefile +++ b/devel/glib2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.97 2006/04/13 18:23:31 jlam Exp $ +# $NetBSD: Makefile,v 1.98 2006/04/30 16:58:03 jschauma Exp $ DISTNAME= glib-2.10.2 PKGNAME= ${DISTNAME:S/glib/glib2/} @@ -53,6 +53,12 @@ CPPFLAGS+= -DPREFIX="\"${PREFIX}\"" CPPFLAGS+= -DPKGLOCALEDIR="\"${PKGLOCALEDIR}\"" CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\"" +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mmipspro*) +CFLAGS+= -c99 +.endif + .if ${OPSYS} == "FreeBSD" SUBST_CLASSES+= thr |