From: Lionel Sambuc Date: Mon, 26 Nov 2012 16:00:18 +0000 (+0100) Subject: Fixing warning about incorrect test in some build environment X-Git-Tag: v3.2.1~174 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=a83e3a14feb1545021d7727482b48978b5396da8;p=minix.git Fixing warning about incorrect test in some build environment Change-Id: I17c69e96b4278fb39a95c7b0554c779c4d1f637c --- diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 523de92b3..68c598d94 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -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