diff options
author | glewis <glewis@FreeBSD.org> | 2018-02-08 14:29:02 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2018-02-08 14:29:02 +0800 |
commit | c0f17ba71f81592d4256428cf4cf5a25c29a3460 (patch) | |
tree | 06be364940e9e9fe1872caf392a06d109ba848d9 /java/openjdk8 | |
parent | c2230bafc5141b5dd80a2e33a10448c2b62a44a3 (diff) | |
download | freebsd-ports-gnome-c0f17ba71f81592d4256428cf4cf5a25c29a3460.tar.gz freebsd-ports-gnome-c0f17ba71f81592d4256428cf4cf5a25c29a3460.tar.zst freebsd-ports-gnome-c0f17ba71f81592d4256428cf4cf5a25c29a3460.zip |
. Fix the build for i386 when WITH_LLD_IS_LD is set.
PR: 225741
Submitted by: dim@
Diffstat (limited to 'java/openjdk8')
-rw-r--r-- | java/openjdk8/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile index a0a68cb5c4cb..3175031e8db2 100644 --- a/java/openjdk8/Makefile +++ b/java/openjdk8/Makefile @@ -331,6 +331,12 @@ CONFIGURE_ARGS+= --with-boot-jdk-jvmargs="-Xmx768m" MAKE_ENV+= JAVADOC_CMD_MEM="-Xmx768m" .endif +.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 + .if ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64 JDK_BUILD_JVM= server .else |