diff options
author | jkim <jkim@FreeBSD.org> | 2013-10-15 01:45:14 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-10-15 01:45:14 +0800 |
commit | 95a635c5f9dab066cecc16d115c32dc7f1f41b58 (patch) | |
tree | fe14ccba035e324c64bf8b98827f79b984c8231d /java | |
parent | 564134fa05c3bbda8c56f6ebf30af06e0b8c9ce9 (diff) | |
download | freebsd-ports-gnome-95a635c5f9dab066cecc16d115c32dc7f1f41b58.tar.gz freebsd-ports-gnome-95a635c5f9dab066cecc16d115c32dc7f1f41b58.tar.zst freebsd-ports-gnome-95a635c5f9dab066cecc16d115c32dc7f1f41b58.zip |
Simplify compiler detection. COMPILER_TYPE must be defined since r330336.
Diffstat (limited to 'java')
-rw-r--r-- | java/openjdk6/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/openjdk6/Makefile b/java/openjdk6/Makefile index f5809ab2f9a0..bb85885e99e3 100644 --- a/java/openjdk6/Makefile +++ b/java/openjdk6/Makefile @@ -190,7 +190,7 @@ ICONV_INCLUDE= -I${LOCALBASE}/include ICONV_LIBS= -L${LOCALBASE}/lib ${ICONV_LIB} .endif -.if defined(COMPILER_TYPE) && ${COMPILER_TYPE} == "clang" +.if ${COMPILER_TYPE} == "clang" MAKE_ENV+= COMPILER_WARNINGS_FATAL=false .if empty(PORT_OPTIONS:MDEBUG) && empty(PORT_OPTIONS:MFASTDEBUG) MAKE_ENV+= WARNINGS_ARE_ERRORS=-w |