ref: 579a5bc6c255edfde90a3ea5e376fc59c7b2e49b
parent: 8034863e51b87dee446532623492866083a19877
parent: f17aa7911b1ff4601cae74829882a21d1d6ee681
author: huili2 <huili2@cisco.com>
date: Thu Mar 14 09:50:20 EDT 2019
Merge pull request #3104 from GuangweiWang/stack-protection enable stack protector
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,7 @@
MODULE := $(LIBPREFIX)$(MODULE_NAME).$(SHAREDLIBSUFFIX)
-CFLAGS += -DGENERATED_VERSION_HEADER
+CFLAGS += -DGENERATED_VERSION_HEADER -fstack-protector-all
LDFLAGS +=
ifeq (Yes, $(GCOV))