]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixing warning about incorrect test in some build environment 28/128/2
authorLionel Sambuc <lionel@minix3.org>
Mon, 26 Nov 2012 16:00:18 +0000 (17:00 +0100)
committerLionel Sambuc <lionel@minix3.org>
Fri, 7 Dec 2012 12:58:05 +0000 (13:58 +0100)
Change-Id: I17c69e96b4278fb39a95c7b0554c779c4d1f637c

share/mk/bsd.sys.mk

index 523de92b3b5875143d7265f0492fc90c9a0cc626..68c598d94db5c38b7bbc42d879ffd512d10e0ecb 100644 (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