From 609c1c2cdba08d75613673a252c0e8e1a83ab3be Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 10 Oct 2016 17:19:13 +1100 Subject: [PATCH] build system: Add -fno-rtti when compiling C++ code --- make/project.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0