From 17cdcbeac68315cfb03f40ca8028aacff572e81b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 28 Dec 2011 02:34:59 +0100 Subject: don't use -fno-rtti on a non-c++ project --- sdr-test-project/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdr-test-project/Makefile b/sdr-test-project/Makefile index 22015b9..feb5c35 100644 --- a/sdr-test-project/Makefile +++ b/sdr-test-project/Makefile @@ -101,7 +101,7 @@ TARGET_OPTS = endif CFLAGS += $(TARGET_OPTS) -CFLAGS += -Wall -mlong-calls -ffunction-sections -fno-rtti -fno-exceptions +CFLAGS += -Wall -mlong-calls -ffunction-sections -fno-exceptions CFLAGS += -g $(OPTIMIZATION) $(INCLUDES) -D$(CHIP) -DTRACE_LEVEL=$(TRACE_LEVEL) ASFLAGS = $(TARGET_OPTS) -Wall -g $(OPTIMIZATION) $(INCLUDES) -D$(CHIP) -D__ASSEMBLY__ LDFLAGS = -g $(OPTIMIZATION) -nostartfiles $(TARGET_OPTS) -Wl,--gc-sections -- cgit v1.2.3