minix/share/mk/minix.service.mk

11 lines
305 B
Makefile
Raw Normal View History

2011-07-09 15:04:42 +02:00
# MINIX-specific servers/drivers options
.include <bsd.own.mk>
.if ${CC} == "gcc"
LDADD+= -nodefaultlibs -lgcc -lsys -lgcc -lminc
2011-07-09 15:04:42 +02:00
.elif ${CC} == "clang"
LDADD+= -nodefaultlibs -L/usr/pkg/lib -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc
2011-07-09 15:04:42 +02:00
.endif
.include <bsd.prog.mk>