aboutsummaryrefslogtreecommitdiff
path: root/java/openjdk11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjdk11/Makefile')
-rw-r--r--java/openjdk11/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile
index 1548c2e3fa6b..28f3a7b9eba5 100644
--- a/java/openjdk11/Makefile
+++ b/java/openjdk11/Makefile
@@ -171,6 +171,8 @@ CFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}
CXXFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}
CONFIGURE_ARGS+=--disable-precompiled-headers
.else
+# it is up to upstream project to fix these or not
+CFLAGS+= -Wno-deprecated-builtins -Wno-inline-asm -Wno-unknown-attributes
MAKE_ENV+= USE_CLANG=true
.if ${ARCH:Mpowerpc64*}
LLVM_VER= 12