Add -DFREEBSD_AOUT to CFLAGS, to ensure that <link.h> gives us the correct
definitions, even when compiling the a.out ld under elf.
This commit is contained in:
parent
e4da208bae
commit
b6a27c919c
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user