Fix compiler check

This commit is contained in:
Dirk Vogt 2012-05-01 16:57:11 +02:00 committed by Thomas Veerman
parent 50e870c530
commit 7da8d39c06

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