diff options
author | joerg <joerg> | 2011-08-31 14:48:04 +0000 |
---|---|---|
committer | joerg <joerg> | 2011-08-31 14:48:04 +0000 |
commit | 3b3a34966e2d0b9ef04ab6ad240e85cf3f81dd48 (patch) | |
tree | e8c7e1fae9a225672d07486d6e0fe59e0c8037eb /lang/openjdk7/Makefile | |
parent | a4a9576d19c2ffcfdad5ed28ebdae1b4431b2618 (diff) | |
download | pkgsrc-3b3a34966e2d0b9ef04ab6ad240e85cf3f81dd48.tar.gz |
Disable a bunch of default warnings for clang. Still doesn't finish
build, since the bootstrap VM crashes with Stack Overflow error.
Diffstat (limited to 'lang/openjdk7/Makefile')
-rw-r--r-- | lang/openjdk7/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/openjdk7/Makefile b/lang/openjdk7/Makefile index 18ab3db7ede..3267aa86daa 100644 --- a/lang/openjdk7/Makefile +++ b/lang/openjdk7/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2011/08/21 22:57:54 tnn Exp $ +# $NetBSD: Makefile,v 1.23 2011/08/31 14:48:04 joerg Exp $ DISTNAME= openjdk-7-fcs-src-b147-27_jun_2011 PKGNAME= openjdk7-1.7.0.147.20110811 @@ -72,6 +72,15 @@ BUILDDIR= ${WRKSRC}/build/${OPSYS:C/.*BSD/bsd/:S/DragonFly/bsd/}-${MACHINE_ARCH: PLIST_SUBST+= ARCH=${MACHINE_ARCH:S/x86_64/amd64/} PLIST_SUBST+= LOWER_OPSYS=${LOWER_OPSYS} +.if !empty(PKGSRC_COMPILER:Mclang) +_WRAP_EXTRA_ARGS.CXX+= -Wno-parentheses -Wno-sign-conversion \ + -Wno-shorten-64-to-32 -Wno-conversion \ + -Wno-unused-value -Wno-switch-enum \ + -Wno-tautological-compare \ + -Wno-delete-non-virtual-dtor \ + -Wno-return-type -Wno-unused-parameter +.endif + .include "../../mk/bsd.prefs.mk" .include "bootstrap.mk" .include "icedtea-extras.mk" |