Default to the regular stack protector

This commit is contained in:
Pierre Pronchery 2017-09-12 18:25:26 +02:00
parent 6efea7df30
commit e0a689419a
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ targets=libSystem
cppflags_force=-I ../include cppflags_force=-I ../include
cppflags= cppflags=
cflags_force=-fPIC cflags_force=-fPIC
cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
#XXX get rid of this dependency #XXX get rid of this dependency
ldflags_force=-lsocket ldflags_force=-lsocket
dist=Makefile,token.h,python/project.conf,python/Makefile,python/libSystem.c,python/libSystem.py dist=Makefile,token.h,python/project.conf,python/Makefile,python/libSystem.c,python/libSystem.py

View File

@ -1,7 +1,7 @@
targets=_libSystem targets=_libSystem
cppflags_force=-I ../../include cppflags_force=-I ../../include
cflags_force=-fPIC `pkg-config --cflags python-2.7` cflags_force=-fPIC `pkg-config --cflags python-2.7`
cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs python-2.7` ldflags_force=`pkg-config --libs python-2.7`
ldflags=-L$(OBJDIR).. -Wl,-rpath,$(LIBDIR) -Wl,-z,relro -Wl,-z,now ldflags=-L$(OBJDIR).. -Wl,-rpath,$(LIBDIR) -Wl,-z,relro -Wl,-z,now
dist=Makefile,libSystem.py dist=Makefile,libSystem.py

View File

@ -1,6 +1,6 @@
targets=array,config,error,event,includes,pylint.log,string,variable,tests.log targets=array,config,error,event,includes,pylint.log,string,variable,tests.log
cppflags_force=-I ../include cppflags_force=-I ../include
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=-L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lSystem ldflags_force=-L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lSystem
ldflags=-pie -Wl,-z,relro -Wl,-z,now ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=COPYING,Makefile,config.conf,config-noeol.conf,pkgconfig.sh,pylint.sh,python.sh,tests.sh dist=COPYING,Makefile,config.conf,config-noeol.conf,pkgconfig.sh,pylint.sh,python.sh,tests.sh

View File

@ -1,7 +1,7 @@
targets=configctl targets=configctl
cppflags_force=-I ../include cppflags_force=-I ../include
cppflags= cppflags=
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=-L$(OBJDIR)../src -Wl,-rpath,$(PREFIX)/lib -lSystem ldflags_force=-L$(OBJDIR)../src -Wl,-rpath,$(PREFIX)/lib -lSystem
ldflags=-pie -Wl,-z,relro -Wl,-z,now ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=COPYING,Makefile,subst.sh dist=COPYING,Makefile,subst.sh