소스 검색

Merge pull request #165 from corda/chrisr3-stack-protector-fix

Ensure trts_nsp.cpp is compiled without stack protection.

Signed-off-by: Zhang Lili lili.z.zhang@intel.com
lzha101 8 년 전
부모
커밋
9cda5c4774
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sdk/trts/Makefile

+ 1 - 1
sdk/trts/Makefile

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