5da4a0bd56
Now users can choose between libsys, libsys + libminc and libsys + libc. E.g. PUFFS/FUSE servers need libsys + libc while old servers can use libsys + libminc.
14 lines
317 B
Makefile
14 lines
317 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 -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc
|
|
.endif
|
|
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|