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:
bde 2000-03-27 15:58:53 +00:00
parent 9d361d2942
commit 0684862401
2 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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