mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
. Fix the build for i386 when WITH_LLD_IS_LD is set.
PR: 225741 Submitted by: dim@
This commit is contained in:
parent
eef0418ce0
commit
7effcd49b2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461197
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user