Stick to the default stack protector

This commit is contained in:
Pierre Pronchery 2020-01-17 20:50:38 +01:00
parent 2f45a85464
commit 985268a76a
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
targets=libApp
cppflags_force=-I ../include
cflags_force=-fPIC `pkg-config --cflags libSystem libMarshall`
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 libSystem libMarshall`
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile,appinterface.h,appmessage.h,appstatus.h,apptransport.h

View File

@ -2,7 +2,7 @@ targets=self,tcp,tcp4,tcp6,template,udp,udp4,udp6
cppflags_force=-I ../../include
cppflags=
cflags_force=-fPIC `pkg-config --cflags libSystem`
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 libSystem` -L$(OBJDIR).. -lApp
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile,common.h,common.c

View File

@ -1,7 +1,7 @@
targets=AppBroker,Dummy.h,appclient,appinterface,appmessage,appserver,fixme.log,includes,lookup,shlint.log,tests.log,transport
cppflags_force=-I../include -I. -I$(OBJDIR).
cflags_force=`pkg-config --cflags libSystem`
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=`pkg-config --libs libSystem` -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lApp
ldflags=-pie -Wl,-z,relro -Wl,-z,now -rdynamic
dist=System/App.h,appbroker.sh,fixme.sh,Makefile,Test.expected,Test.interface,pkgconfig.sh,shlint.sh,tests.sh

View File

@ -2,7 +2,7 @@ targets=AppBroker,AppClient
cppflags_force=-I ../include
cppflags=
cflags_force=`pkg-config --cflags libSystem libMarshall`
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 `pkg-config --libs libSystem libMarshall` -lApp
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile