mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Simplify compiler detection. COMPILER_TYPE must be defined since r330336.
This commit is contained in:
parent
f16aa8c76d
commit
eeab9aebc3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330338
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user