forked from openGauss-Ecosystem/openGauss-server
secure compilation
This commit is contained in:
parent
78f95a418a
commit
12e35b6d3e
|
@ -32,8 +32,8 @@ VERSION = 1
|
||||||
override CPPFLAGS := -I$(top_builddir)/src/common/port -DFRONTEND $(CPPFLAGS) $(CFLAGS_SSE42)
|
override CPPFLAGS := -I$(top_builddir)/src/common/port -DFRONTEND $(CPPFLAGS) $(CFLAGS_SSE42)
|
||||||
LIBS += $(PTHREAD_LIBS)
|
LIBS += $(PTHREAD_LIBS)
|
||||||
|
|
||||||
override CPPFLAGS := $(filter-out -fPIE, $(CPPFLAGS)) -fPIC
|
override CPPFLAGS := $(filter-out -fPIE, $(CPPFLAGS)) -fPIC -fstack-protector-all
|
||||||
override CFLAGS := $(filter-out -fPIE, $(CFLAGS)) -fPIC
|
override CFLAGS := $(filter-out -fPIE, $(CFLAGS)) -fPIC -fstack-protector-all
|
||||||
|
|
||||||
override CPPSources=$(shell find -name "*.cpp" ! -name "path.cpp" | sort)
|
override CPPSources=$(shell find -name "*.cpp" ! -name "path.cpp" | sort)
|
||||||
ifneq "$(MAKECMDGOALS)" "clean"
|
ifneq "$(MAKECMDGOALS)" "clean"
|
||||||
|
|
Loading…
Reference in New Issue