From 8e10bf83ae70848eee8c8a90a257f7cedda09f6c Mon Sep 17 00:00:00 2001 From: Advait Jain Date: Wed, 20 Nov 2019 11:36:01 -0800 Subject: [PATCH] Add no-rtti for the linux build as well. PiperOrigin-RevId: 281565242 Change-Id: Ia0b00e8e6e903b362bc9a275f06be6404ad87bfd --- tensorflow/lite/experimental/micro/tools/make/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tensorflow/lite/experimental/micro/tools/make/Makefile b/tensorflow/lite/experimental/micro/tools/make/Makefile index 510bb81a4ca..fadaa78cf84 100644 --- a/tensorflow/lite/experimental/micro/tools/make/Makefile +++ b/tensorflow/lite/experimental/micro/tools/make/Makefile @@ -70,6 +70,7 @@ MICROLITE_LIBS := -lm # these settings are for the target compiler. CXXFLAGS := -O3 -DNDEBUG CXXFLAGS += -std=c++11 -g -DTF_LITE_STATIC_MEMORY +CXXFLAGS += -fno-rtti CCFLAGS := -DNDEBUG -g -DTF_LITE_STATIC_MEMORY LDOPTS := -L/usr/local/lib ARFLAGS := -r