diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-12-28 02:34:59 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-12-28 02:34:59 +0100 |
commit | 17cdcbeac68315cfb03f40ca8028aacff572e81b (patch) | |
tree | 9e1f4a490adef9a3598ce2ed7eda0790c09a0e0f | |
parent | 7fb90daf9fb88c9a8297f9239593125f67e0b389 (diff) |
don't use -fno-rtti on a non-c++ project
-rw-r--r-- | sdr-test-project/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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
|