minix/share/mk/minix.service.mk

15 lines
317 B
Makefile
Raw Normal View History

2011-07-09 15:04:42 +02:00
# MINIX-specific servers/drivers options
.include <bsd.own.mk>
.if ${COMPILER_TYPE} == "gnu"
.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 -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc
2011-07-09 15:04:42 +02:00
.endif
.endif
.include <bsd.prog.mk>