diff options
Diffstat (limited to 'java/openjdk7/Makefile')
-rw-r--r-- | java/openjdk7/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/openjdk7/Makefile b/java/openjdk7/Makefile index 59fcbeb5060e..0be6c4baed2b 100644 --- a/java/openjdk7/Makefile +++ b/java/openjdk7/Makefile @@ -162,6 +162,12 @@ BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:java/bootstrap-openjdk6 .include <bsd.port.pre.mk> +.if ${ARCH} == i386 +# Fix the build for i386 when WITH_LLD_IS_LD is set +# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225741 +MAKE_ENV+= LFLAGS="-Wl,-z,notext" +.endif + # GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html .if ${COMPILER_TYPE} == gcc MAKE_ENV+= USE_PRECOMPILED_HEADER=0 |