Fixing warning about incorrect test in some build environment

Change-Id: I17c69e96b4278fb39a95c7b0554c779c4d1f637c
This commit is contained in:
Lionel Sambuc 2012-11-26 17:00:18 +01:00
parent ec10840b9e
commit a83e3a14fe

View file

@ -40,7 +40,7 @@ CFLAGS+= ${${ACTIVE_CC} != "clang":? -Wno-traditional :}
# Set assembler warnings to be fatal
#CFLAGS+= -Wa,--fatal-warnings
# LSC Clang version 2.9 those not support this flag
CFLAGS+= ${${HAVE_LLVM:U} != "2.9":? -Wa,--fatal-warnings:}
CFLAGS+= ${${HAVE_LLVM:U"0.0"} != "2.9":? -Wa,--fatal-warnings:}
.endif
# Set linker warnings to be fatal
# XXX no proper way to avoid "FOO is a patented algorithm" warnings