forked from Imagelibrary/rtems
Added rejected patch from automake VI from Ralf Corsepius.
This commit is contained in:
@@ -59,12 +59,15 @@ LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/libm.a
|
||||
endif
|
||||
|
||||
else
|
||||
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
||||
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \
|
||||
$(INCLUDE_NETWORKING) $(DEFINES)
|
||||
# NOTE: GCCSPECS probably belongs to CPPFLAGS
|
||||
# Unfortunately, many custom/*.cfg files do not pass CPPFLAGS
|
||||
# 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) \
|
||||
-I$(PROJECT_RELEASE)/lib/include $(DEFINES)
|
||||
CC += $(GCCSPECS)
|
||||
CXX += $(GCCSPECS)
|
||||
|
||||
CPPFLAGS += -I$(srcdir) $(INCLUDE_NETWORKING)
|
||||
|
||||
# default location of Standard C Library
|
||||
ifndef LIBC_LIBC
|
||||
|
||||
@@ -59,12 +59,15 @@ LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/libm.a
|
||||
endif
|
||||
|
||||
else
|
||||
CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \
|
||||
-B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems \
|
||||
$(INCLUDE_NETWORKING) $(DEFINES)
|
||||
# NOTE: GCCSPECS probably belongs to CPPFLAGS
|
||||
# Unfortunately, many custom/*.cfg files do not pass CPPFLAGS
|
||||
# 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) \
|
||||
-I$(PROJECT_RELEASE)/lib/include $(DEFINES)
|
||||
CC += $(GCCSPECS)
|
||||
CXX += $(GCCSPECS)
|
||||
|
||||
CPPFLAGS += -I$(srcdir) $(INCLUDE_NETWORKING)
|
||||
|
||||
# default location of Standard C Library
|
||||
ifndef LIBC_LIBC
|
||||
|
||||
Reference in New Issue
Block a user