clang compile fixes
This commit is contained in:
parent
f94e915e33
commit
a73c217bf6
3 changed files with 16 additions and 0 deletions
|
@ -3,7 +3,12 @@
|
|||
|
||||
PROG= cut
|
||||
|
||||
.if ${COMPILER_TYPE} != "gnu"
|
||||
LDADD+= -lminixutil
|
||||
DPADD+= ${LIBMINIXUTIL}
|
||||
.else
|
||||
LDADD+= -lutil
|
||||
DPADD+= ${LIBUTIL}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -6,7 +6,12 @@
|
|||
PROG= find
|
||||
SRCS= find.c function.c ls.c main.c misc.c operator.c option.c
|
||||
|
||||
.if ${COMPILER_TYPE} != "gnu"
|
||||
LDADD+=-lminixutil
|
||||
DPADD+=${LIBMINIXUTIL}
|
||||
.else
|
||||
LDADD+= -lutil
|
||||
DPADD+= ${LIBUTIL}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -6,8 +6,14 @@ SRCS= conv.c display.c hexdump.c hexsyntax.c odsyntax.c parse.c
|
|||
MAN= hexdump.1 #od.1
|
||||
|
||||
.ifndef HOSTPROG
|
||||
|
||||
.if ${COMPILER_TYPE} != "gnu"
|
||||
LDADD+=-lminixutil
|
||||
DPADD+=${LIBMINIXUTIL}
|
||||
.else
|
||||
LDADD+= -lutil
|
||||
DPADD+= ${LIBUTIL}
|
||||
.endif
|
||||
|
||||
#LINKS= ${BINDIR}/hexdump ${BINDIR}/od
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue