summaryrefslogtreecommitdiff
path: root/lang/openjdk8/Makefile
diff options
context:
space:
mode:
authortnn <tnn>2015-02-08 17:19:59 +0000
committertnn <tnn>2015-02-08 17:19:59 +0000
commit22d5897ab8cfd921d3093eed50c42811bd4c7d34 (patch)
treefa8364195050f0b4aa677ccd0d182bfd71afdbbb /lang/openjdk8/Makefile
parentf64993cd83033dbef287a8560cf607f825263a54 (diff)
downloadpkgsrc-22d5897ab8cfd921d3093eed50c42811bd4c7d34.tar.gz
FreeBSD/clang build fix
Diffstat (limited to 'lang/openjdk8/Makefile')
-rw-r--r--lang/openjdk8/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/openjdk8/Makefile b/lang/openjdk8/Makefile
index 9f7c4b56874..9abf86a565f 100644
--- a/lang/openjdk8/Makefile
+++ b/lang/openjdk8/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/02/08 08:41:25 tnn Exp $
+# $NetBSD: Makefile,v 1.2 2015/02/08 17:19:59 tnn Exp $
DISTNAME= openjdk-1.8.31-20150207
PKGNAME= openjdk8-1.8.31
@@ -76,6 +76,8 @@ SUBST_FILES.libpath+= hotspot/src/os/bsd/vm/os_bsd.cpp
SUBST_VARS.libpath= PREFIX
.if !empty(PKGSRC_COMPILER:Mclang)
+_WRAP_EXTRA_ARGS.CC+= -Wno-return-type
+CRAPPERS_APPEND.cc+= -Wno-return-type
_WRAP_EXTRA_ARGS.CXX+= -Wno-parentheses -Wno-sign-conversion \
-Wno-shorten-64-to-32 -Wno-conversion \
-Wno-unused-value -Wno-switch-enum -Wno-switch \