Fix compiler check

This commit is contained in:
Dirk Vogt
2012-06-18 10:53:27 +00:00
committed by Thomas Veerman
parent 50e870c530
commit 7da8d39c06
+2 -2
View File
@@ -1,9 +1,9 @@
# MINIX-specific servers/drivers options
.include <bsd.own.mk>
.if ${CC} == "gcc"
.if !empty(CC:M*gcc)
LDADD+= -nodefaultlibs -lgcc -lsys -lgcc -lminc
.elif ${CC} == "clang"
.elif !empty(CC:M*clang)
LDADD+= -nodefaultlibs -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc
.endif