mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 00:41:30 +01:00
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.
This commit is contained in:
parent
02819e7033
commit
9a536bfc65
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=44064
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user