diff options
author | jschauma <jschauma@pkgsrc.org> | 2006-12-02 22:32:59 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2006-12-02 22:32:59 +0000 |
commit | f8689a84ed217f5d64ba442f5a5e3d238a9005bd (patch) | |
tree | 97923b6df098fa627f577ea81af4285038c9d84a /devel/gmp | |
parent | 5c36824d5ee5785db470f8bc7d40f2bce370c7c7 (diff) | |
download | pkgsrc-f8689a84ed217f5d64ba442f5a5e3d238a9005bd.tar.gz |
Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing.
May need to be reviewed/added for other compilers.
ok rillig@
Diffstat (limited to 'devel/gmp')
-rw-r--r-- | devel/gmp/Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/devel/gmp/Makefile b/devel/gmp/Makefile index 9c3c331c086..8c0f595f1c8 100644 --- a/devel/gmp/Makefile +++ b/devel/gmp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2006/10/22 19:49:07 schwarz Exp $ +# $NetBSD: Makefile,v 1.41 2006/12/02 22:32:59 jschauma Exp $ DISTNAME= gmp-4.1.4 PKGREVISION= 1 @@ -12,7 +12,7 @@ COMMENT= Library for arbitrary precision arithmetic PKG_INSTALLATION_TYPES= overwrite pkgviews -USE_LANGUAGES= c c++ +USE_LANGUAGES= c c++ c99 USE_TOOLS+= gm4 USE_LIBTOOL= yes GNU_CONFIGURE= yes @@ -26,12 +26,6 @@ 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 |