summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-06-12 15:50:57 +0000
committerpeter <peter@FreeBSD.org>1998-06-12 15:50:57 +0000
commit0a382ec9f5d2d61287e41e4b84a589f2dae1b468 (patch)
tree2a0b6ca7ee4b41a8515905359fe424f526b3abdb
parent4c280934b97d61ced62b509e36e9d07c5b3a4a0f (diff)
downloadFreeBSD-src-0a382ec9f5d2d61287e41e4b84a589f2dae1b468.zip
FreeBSD-src-0a382ec9f5d2d61287e41e4b84a589f2dae1b468.tar.gz
Add -DFREEBSD_AOUT to CFLAGS, to ensure that <link.h> gives us the correct
definitions, even when compiling the a.out ld under elf.
-rw-r--r--gnu/usr.bin/ld/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/ld/Makefile b/gnu/usr.bin/ld/Makefile
index c33c029..547614a 100644
--- a/gnu/usr.bin/ld/Makefile
+++ b/gnu/usr.bin/ld/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.23 1998/05/25 17:34:37 sos Exp $
+# $Id: Makefile,v 1.24 1998/06/01 14:08:01 peter Exp $
#
RTLD= ${.CURDIR}/../../../libexec/rtld-aout
@@ -9,7 +9,7 @@ BINDIR= /usr/libexec/aout
SRCS= ld.c symbol.c lib.c shlib.c warnings.c support.c rrs.c xbits.c md.c \
cplus-dem.c
CFLAGS+= -I${.CURDIR} -I${RTLD} -I${RTLD}/${MACHINE} \
- -I${GCCDIR} -DIN_GCC -DDEMANGLE_CPLUSPLUS
+ -I${GCCDIR} -DIN_GCC -DDEMANGLE_CPLUSPLUS -DFREEBSD_AOUT
NOSHARED?= yes
.PATH: ${RTLD} ${RTLD}/${MACHINE} ${GCCDIR}
OpenPOWER on IntegriCloud