Add no-rtti for the linux build as well.

PiperOrigin-RevId: 281565242
Change-Id: Ia0b00e8e6e903b362bc9a275f06be6404ad87bfd
This commit is contained in:
Advait Jain 2019-11-20 11:36:01 -08:00 committed by TensorFlower Gardener
parent a7de1a78fe
commit 8e10bf83ae

View File

@ -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