Added rejected patch from automake VI from Ralf Corsepius.

This commit is contained in:
Joel Sherrill
1999-02-18 18:00:22 +00:00
parent a110b68252
commit 4cc89bd99a
2 changed files with 16 additions and 10 deletions

View File

@@ -59,12 +59,15 @@ LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/libm.a
endif endif
else else
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \ # NOTE: GCCSPECS probably belongs to CPPFLAGS
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \ # Unfortunately, many custom/*.cfg files do not pass CPPFLAGS
$(INCLUDE_NETWORKING) $(DEFINES) # to their gcc-2.8 make-exe rules
GCCSPECS = -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \ CC += $(GCCSPECS)
-I$(PROJECT_RELEASE)/lib/include $(DEFINES) CXX += $(GCCSPECS)
CPPFLAGS += -I$(srcdir) $(INCLUDE_NETWORKING)
# default location of Standard C Library # default location of Standard C Library
ifndef LIBC_LIBC ifndef LIBC_LIBC

View File

@@ -59,12 +59,15 @@ LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/libm.a
endif endif
else else
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \ # NOTE: GCCSPECS probably belongs to CPPFLAGS
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \ # Unfortunately, many custom/*.cfg files do not pass CPPFLAGS
$(INCLUDE_NETWORKING) $(DEFINES) # to their gcc-2.8 make-exe rules
GCCSPECS = -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems
ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g -I$(srcdir) \ CC += $(GCCSPECS)
-I$(PROJECT_RELEASE)/lib/include $(DEFINES) CXX += $(GCCSPECS)
CPPFLAGS += -I$(srcdir) $(INCLUDE_NETWORKING)
# default location of Standard C Library # default location of Standard C Library
ifndef LIBC_LIBC ifndef LIBC_LIBC