summaryrefslogtreecommitdiff
path: root/java/openjdk8
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjdk8')
-rw-r--r--java/openjdk8/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile
index 4a170fa7b888..65bbd36aeab1 100644
--- a/java/openjdk8/Makefile
+++ b/java/openjdk8/Makefile
@@ -192,6 +192,11 @@ CONFIGURE_ENV= LIBCXX="-lc++"
.endif
.endif
+# GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html
+.if ${COMPILER_TYPE} == gcc
+MAKE_ARGS+= USE_PRECOMPILED_HEADER=0
+.endif
+
.if empty(ICONV_LIB)
ICONV_CPPFLAGS= -DLIBICONV_PLUG
.else