From bdc472c2339c8d27986c9d3bc7ba60bf7847c7f3 Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 10 May 2002 09:32:39 +0000 Subject: [Ab]use LDFLAGS rather than CFLAGS. BDE tells me POSIX pretends `ld' as a directly callable entity does not exist. --- gnu/lib/libgcc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/lib/libgcc') diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index 4346fd2..2c1d01d 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -34,7 +34,7 @@ INSTALL_PIC_ARCHIVE= yes XCC= ${CC} XCXX= ${CXX} -CFLAGS+= -nostdlib -fexceptions +CFLAGS+= -fexceptions CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \ -DFINE_GRAINED_LIBRARIES .if ${OBJFORMAT} != aout @@ -42,6 +42,7 @@ CFLAGS+= -D_PTHREADS -DGTHREAD_USE_WEAK .endif CFLAGS+= -I${.CURDIR}/../../usr.bin/cc/cc_tools \ -I${GCCDIR}/config -I${GCCDIR} -I. +LDFLAGS= -nostdlib # Remove any objects from LIB2FUNCS and LIB2_DIVMOD_FUNCS that are # defined as optimized assembly code in LIB1ASMFUNCS. -- cgit v1.1