Ensure trts_nsp.cpp is compiled without stack protection. Signed-off-by: Zhang Lili lili.z.zhang@intel.com
@@ -40,7 +40,7 @@ CXXFLAGS += $(ENCLAVE_CXXFLAGS) \
-fno-exceptions \
-fno-rtti
-TCXXFLAGS := $(filter-out -fstack-protector-strong, $(CXXFLAGS))
+TCXXFLAGS := $(patsubst -fstack-protector%,-fno-stack-protector,$(CXXFLAGS))
OBJS1 := init_enclave.o \
trts.o \