diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2019-09-03 19:39:00 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2019-09-03 19:39:00 +0000 |
commit | de71759143d048591c5c55241581712c2272bc89 (patch) | |
tree | 82e674ee1620695fc70f358cda139c163aa79d1a /java/openjdk11/Makefile | |
parent | b3d5320afaa36d4ab08c612320cfa56ade442b84 (diff) | |
download | ports-de71759143d048591c5c55241581712c2272bc89.tar.gz ports-de71759143d048591c5c55241581712c2272bc89.zip |
Minor clean up
* Separate out compiler specifics from platform specifics. This also
removes a little duplication.
Notes
Notes:
svn path=/head/; revision=511031
Diffstat (limited to 'java/openjdk11/Makefile')
-rw-r--r-- | java/openjdk11/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile index 8ad94ab2f46f..480d0d62ed77 100644 --- a/java/openjdk11/Makefile +++ b/java/openjdk11/Makefile @@ -122,16 +122,14 @@ 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${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ +CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/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 |