Sync with openjdk11
* Separate out platform/compiler concerns * Disable AoT on all arches except amd64 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
52dc066ad4
commit
64cb3efbcf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513045
@ -122,19 +122,20 @@ CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE}
|
||||
|
||||
.if ${COMPILER_TYPE} == gcc
|
||||
USE_GCC= yes
|
||||
CONFIGURE_ARGS+= --disable-warnings-as-errors \
|
||||
--disable-dtrace \
|
||||
--with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L/usr/local/lib/gcc${GCC_DEFAULT}" \
|
||||
CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L/usr/local/lib/gcc${GCC_DEFAULT}" \
|
||||
--with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \
|
||||
--with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}"
|
||||
.else
|
||||
MAKE_ENV+= USE_CLANG=true
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == aarch64
|
||||
.if ${ARCH} == aarch64 || ${ARCH} == powerpc64
|
||||
CONFIGURE_ARGS+= --disable-warnings-as-errors \
|
||||
--disable-dtrace
|
||||
.endif
|
||||
.if ${ARCH} != amd64
|
||||
CONFIGURE_ARGS+= --enable-aot=no
|
||||
.endif
|
||||
|
||||
.if empty(ICONV_LIB)
|
||||
ICONV_CFLAGS= -DLIBICONV_PLUG
|
||||
|
@ -120,19 +120,20 @@ CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE}
|
||||
|
||||
.if ${COMPILER_TYPE} == gcc
|
||||
USE_GCC= yes
|
||||
CONFIGURE_ARGS+= --disable-warnings-as-errors \
|
||||
--disable-dtrace \
|
||||
--with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L/usr/local/lib/gcc${GCC_DEFAULT}" \
|
||||
CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L/usr/local/lib/gcc${GCC_DEFAULT}" \
|
||||
--with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \
|
||||
--with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}"
|
||||
.else
|
||||
MAKE_ENV+= USE_CLANG=true
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == aarch64
|
||||
.if ${ARCH} == aarch64 || ${ARCH} == powerpc64
|
||||
CONFIGURE_ARGS+= --disable-warnings-as-errors \
|
||||
--disable-dtrace
|
||||
.endif
|
||||
.if ${ARCH} != amd64
|
||||
CONFIGURE_ARGS+= --enable-aot=no
|
||||
.endif
|
||||
|
||||
.if empty(ICONV_LIB)
|
||||
ICONV_CFLAGS= -DLIBICONV_PLUG
|
||||
|
Loading…
Reference in New Issue
Block a user