Don't abuse LDADD for holding linker flags. Doing so broke
`make checkdpadd'. Linker flags (ones passed via ${CC}) go in LDFLAGS. Fixed some style bugs (misformatting of $FreeBSD$).
This commit is contained in:
parent
9d361d2942
commit
0684862401
@ -1,15 +1,14 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PROG= perl
|
||||
NOMAN= true
|
||||
CFLAGS+=-I${PERL5SRC} -I${.OBJDIR}
|
||||
SRCS= perlmain.c config.h
|
||||
NOSHARED= no
|
||||
LDFLAGS=-Wl,-E
|
||||
DYNALOADER= lib/auto/DynaLoader/DynaLoader.a
|
||||
DPADD= ${DYNALOADER} ${LIBPERL} ${LIBM} ${LIBCRYPT} ${LIBMD} ${LIBXPG4}
|
||||
LDADD= -Wl,-E ${DYNALOADER} -lperl -lm -lcrypt -lmd -lxpg4
|
||||
LDADD= ${DYNALOADER} -lperl -lm -lcrypt -lmd -lxpg4
|
||||
LINKS= ${BINDIR}/${PROG} ${BINDIR}/perl5 \
|
||||
${BINDIR}/${PROG} ${BINDIR}/perl5.00503
|
||||
|
||||
|
@ -1,15 +1,14 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PROG= suidperl
|
||||
NOMAN= true
|
||||
CFLAGS+=-I${PERL5SRC} -I${.OBJDIR} -DIAMSUID
|
||||
SRCS= perlmain.c sperl.c config.h
|
||||
NOSHARED= no
|
||||
LDFLAGS=-Wl,-E
|
||||
DYNALOADER= lib/auto/DynaLoader/DynaLoader.a
|
||||
DPADD= ${DYNALOADER} ${LIBPERL} ${LIBM} ${LIBCRYPT} ${LIBMD} ${LIBXPG4}
|
||||
LDADD= -Wl,-E ${DYNALOADER} -lperl -lm -lcrypt -lmd -lxpg4
|
||||
LDADD= ${DYNALOADER} -lperl -lm -lcrypt -lmd -lxpg4
|
||||
BINOWN= root
|
||||
BINMODE=4511
|
||||
LINKS= ${BINDIR}/${PROG} ${BINDIR}/sperl5.00503
|
||||
|
Loading…
Reference in New Issue
Block a user