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
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user