summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/openjdk8/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile
index f0365f6e212d..aec1d9537bdb 100644
--- a/java/openjdk8/Makefile
+++ b/java/openjdk8/Makefile
@@ -83,7 +83,8 @@ CONFIGURE_ARGS+= --disable-freetype-bundling \
--with-jvm-variants=${JDK_BUILD_JVM} \
--with-milestone=fcs \
--with-package-path=${LOCALBASE} \
- --with-zlib=system
+ --with-zlib=system \
+ --with-extra-ldflags="-Wl,--undefined-version"
CONFIGURE_SCRIPT= ../../configure
CONFIGURE_WRKSRC= ${WRKSRC}/common/autoconf