]> Zhao Yanbai Git Server - minix.git/commitdiff
mk: add recognizing CC=clang, patch by Arun
authorBen Gras <ben@minix3.org>
Mon, 5 Jul 2010 17:33:34 +0000 (17:33 +0000)
committerBen Gras <ben@minix3.org>
Mon, 5 Jul 2010 17:33:34 +0000 (17:33 +0000)
share/mk/sys.mk

index 415725b276e0198bb07143917da497f3bd0f38e1..1a94282b3cb688424fa296b5a0effe7dbb28a998 100644 (file)
@@ -230,4 +230,7 @@ COMPILER_TYPE=ack
 .elif !empty(CC:Mgcc)
 COMPILER_TYPE=gnu
 AR=gar
+.elif !empty(CC:Mclang)                                                                                         
+COMPILER_TYPE=gnu                                                                                               
+AR=gar                                                                                                          
 .endif