]> Zhao Yanbai Git Server - minix.git/commitdiff
recognize ccc-analyzer as gnu-style compiler
authorBen Gras <ben@minix3.org>
Wed, 10 Aug 2011 10:39:45 +0000 (10:39 +0000)
committerBen Gras <ben@minix3.org>
Wed, 10 Aug 2011 10:39:45 +0000 (10:39 +0000)
. for clang static analysis

share/mk/sys.mk

index 98e39a6c129a163b666bf8a729ac5f71797848d5..01cea435c1eb5dfeab5a3a41c82091f69ee4a070 100644 (file)
@@ -233,7 +233,7 @@ YACC.y?=    ${YACC} ${YFLAGS}
 .if !empty(CC:Mcc) || !empty(CC:Macd) || !empty(CC:M*acc)
 COMPILER_TYPE=ack
 AR?=   aal
-.elif !empty(CC:M*gcc) || !empty(CC:M*clang) || !empty(CC:M*pcc)
+.elif !empty(CC:M*gcc) || !empty(CC:M*clang) || !empty(CC:M*pcc) || !empty(CC:M*ccc-analyzer)
 COMPILER_TYPE=gnu
 AR?=   ar
 .endif