Fix compiler check
This commit is contained in:
parent
50e870c530
commit
7da8d39c06
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue