From: Angus Gratton Date: Mon, 10 Oct 2016 06:19:13 +0000 (+1100) Subject: build system: Add -fno-rtti when compiling C++ code X-Git-Tag: v1.0~118^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=609c1c2cdba08d75613673a252c0e8e1a83ab3be;p=esp-idf build system: Add -fno-rtti when compiling C++ code --- diff --git a/make/project.mk b/make/project.mk index 35dccaf248..d91165cfd7 100644 --- a/make/project.mk +++ b/make/project.mk @@ -165,7 +165,7 @@ CPPFLAGS = -DESP_PLATFORM -Og -g3 -Wpointer-arith -Werror -Wno-error=unused-func CFLAGS = $(CPPFLAGS) -std=gnu99 -g3 -fstrict-volatile-bitfields # CXXFLAGS uses by C++ only -CXXFLAGS = $(CPPFLAGS) -Og -std=gnu++11 -g3 -fno-exceptions -fstrict-volatile-bitfields +CXXFLAGS = $(CPPFLAGS) -Og -std=gnu++11 -g3 -fno-exceptions -fstrict-volatile-bitfields -fno-rtti export CFLAGS CPPFLAGS CXXFLAGS