Fix compiler check
This commit is contained in:
parent
50e870c530
commit
7da8d39c06
@ -1,9 +1,9 @@
|
|||||||
# MINIX-specific servers/drivers options
|
# MINIX-specific servers/drivers options
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
.if ${CC} == "gcc"
|
.if !empty(CC:M*gcc)
|
||||||
LDADD+= -nodefaultlibs -lgcc -lsys -lgcc -lminc
|
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
|
LDADD+= -nodefaultlibs -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user