avoid trigraph warnings for Nios gcc run
PATCH 1/1 avoid trigraph warnings for Nios gcc run
- expand config.mk to avoid trigraph warnings
(only for nios-elf-gcc version 2.95)
Best regards,
Stephan
-------------- next part --------------
config.mk +8 -0
@@ -122,6 +122,14 @@ else CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes endif +# avoid trigraph warnings while parsing pci.h (produced by NIOS gcc-2.9) +# this option have to be placed behind -Wall -- that's why it is here +ifeq ($(ARCH),nios) +ifeq ($(findstring 2.9,$(shell $(CC) --version)),2.9) +CFLAGS := $(CPPFLAGS) -Wno-trigraphs +endif +endif + AFLAGS_DEBUG := -Wa,-gstabs AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)
-------------- next part --------------
* Patch by Stephan Linz, 11 Dec 2003
- expand config.mk to avoid trigraph warnings
PATCH 1/1 avoid trigraph warnings for Nios gcc run
Quoted 3 lines · In message <0403101845280B.12732@pcj86> you wrote:
- expand config.mk to avoid trigraph warnings
(only for nios-elf-gcc version 2.95)
This was already submitted (and added) before. Ignored.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Humans do claim a great deal for that particular emotion (love). -- Spock, "The Lights of Zetar", stardate 5725.6