diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-09-27 01:41:18 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-09-27 01:41:18 +0000 |
commit | ac598142d5ea26ba2ca5edca61c0c7ce6c1d2be3 (patch) | |
tree | 2a037c41c7f75744c40d64fc10b9e2068df71b1a /converters | |
parent | 4cd58a54a968199f14ad55668f5b3f506229d1ed (diff) | |
download | pkgsrc-ac598142d5ea26ba2ca5edca61c0c7ce6c1d2be3.tar.gz |
add -c99 to CFLAGS for IRIX' MIPSPro compilers.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/libiconv/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile index cb64241efcc..047252f0a94 100644 --- a/converters/libiconv/Makefile +++ b/converters/libiconv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2005/09/12 13:41:31 adam Exp $ +# $NetBSD: Makefile,v 1.39 2005/09/27 01:41:18 jschauma Exp $ DISTNAME= libiconv-1.10 PKGREVISION= 2 @@ -26,6 +26,12 @@ REQD_FILES= ${EGDIR}/charset.alias ${PREFIX}/lib/charset.alias MAKE_ENV+= PAX="${PAX}" +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mmipspro*) +CFLAGS+= -c99 +.endif + # remove any existing charset.alias; if it already exists, libiconv does # not overwrite it, and older versions of libiconv wrote incorrect # charset.alias files, which were not removed during deinstall since |