summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-02-15 12:36:21 +0000
committerbde <bde@FreeBSD.org>1999-02-15 12:36:21 +0000
commit400a6ca1d534f9eb5a58ca644df90cca31e90205 (patch)
treee52b9ec21d203a4e02f220c7d6384959e498e6cc /usr.bin/doscmd
parent5e76ef566e20f3e4d316a029e3d83b3b8568793f (diff)
downloadFreeBSD-src-400a6ca1d534f9eb5a58ca644df90cca31e90205.zip
FreeBSD-src-400a6ca1d534f9eb5a58ca644df90cca31e90205.tar.gz
Don't pass -static in ${LDFLAGS} to ld for building doscmd.kernel,
since it means -s (strip), and static linkage is forced correctly anyway. Other things in ${LDFLAGS} are still bogusly passed to ld. This only affects the aout case.
Diffstat (limited to 'usr.bin/doscmd')
-rw-r--r--usr.bin/doscmd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/doscmd/Makefile b/usr.bin/doscmd/Makefile
index e419fbe..5fb64e1 100644
--- a/usr.bin/doscmd/Makefile
+++ b/usr.bin/doscmd/Makefile
@@ -1,6 +1,6 @@
# from BSDI Makefile,v 2.6 1996/04/08 20:06:40 bostic Exp
#
-# $Id: Makefile,v 1.13 1998/09/24 01:11:45 luoqi Exp $
+# $Id: Makefile,v 1.14 1999/01/22 12:45:27 jdp Exp $
PROG= doscmd
SRCS= AsyncIO.c ParseBuffer.c bios.c callback.c cpu.c dos.c cmos.c config.c \
@@ -71,6 +71,6 @@ NEED_LIBNAMES= yes
# This must be after bsd.prog.mk is included so that ${OBJS} in the
# dependency gets expanded.
doscmd.kernel: crt0.o ${OBJS} ${DPADD}
- ld -N -Bstatic -T 110000 -o doscmd.kernel ${LDFLAGS} \
+ ld -N -Bstatic -T 110000 -o doscmd.kernel ${LDFLAGS:N-static} \
crt0.o ${OBJS} ${LDADD}
.endif
OpenPOWER on IntegriCloud