minix/share/mk/minix.service.mk
2011-12-08 18:07:57 +01:00

14 lines
344 B
Makefile

# MINIX-specific servers/drivers options
.include <bsd.own.mk>
.if ${COMPILER_TYPE} == "gnu"
.if ${CC} == "gcc"
LDADD+= -nodefaultlibs -lgcc -lsys -lgcc -lminc
.elif ${CC} == "clang"
LDADD+= -nodefaultlibs -L/usr/pkg/lib -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc
.endif
.endif
.include <bsd.prog.mk>