Build with -fstack-protector

This commit is contained in:
Pierre Pronchery 2015-07-11 15:24:10 +02:00
parent 6d5b33aadd
commit e6be459efc
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
targets=pdo,pgsql,sqlite2,sqlite3,template targets=pdo,pgsql,sqlite2,sqlite3,template
cppflags_force=-I ../../include cppflags_force=-I ../../include
cflags_force=-W -fPIC cflags_force=-W -fPIC
cflags=-Wall -g -O2 -pedantic cflags=-Wall -g -O2 -pedantic -fstack-protector
dist=Makefile dist=Makefile
[pdo] [pdo]

View File

@ -2,7 +2,7 @@ subdirs=engines
targets=libDatabase targets=libDatabase
cppflags_force=-I ../include cppflags_force=-I ../include
cflags_force=-W -fPIC `pkg-config --cflags libSystem` cflags_force=-W -fPIC `pkg-config --cflags libSystem`
cflags=-Wall -g -O2 -pedantic cflags=-Wall -g -O2 -pedantic -fstack-protector
ldflags=`pkg-config --libs libSystem` ldflags=`pkg-config --libs libSystem`
dist=Makefile,python/project.conf,python/Makefile,python/libDatabase.c,python/libDatabase.py dist=Makefile,python/project.conf,python/Makefile,python/libDatabase.c,python/libDatabase.py

View File

@ -1,6 +1,6 @@
targets=_libDatabase targets=_libDatabase
cflags_force=-W `pkg-config --cflags python-2.7 libDatabase` -fPIC cflags_force=-W `pkg-config --cflags python-2.7 libDatabase` -fPIC
cflags=-Wall -g -O2 cflags=-Wall -g -O2 -pedantic -fstack-protector
ldflags_force=`pkg-config --libs python-2.7 libDatabase` ldflags_force=`pkg-config --libs python-2.7 libDatabase`
ldflags=-L.. -L$(LIBDIR) -Wl,-rpath,$(LIBDIR) ldflags=-L.. -L$(LIBDIR) -Wl,-rpath,$(LIBDIR)
dist=Makefile,libDatabase.py dist=Makefile,libDatabase.py

View File

@ -1,7 +1,7 @@
targets=client targets=client
cppflags_force=-I ../include cppflags_force=-I ../include
cflags_force=-W `pkg-config --cflags libSystem` cflags_force=-W `pkg-config --cflags libSystem`
cflags=-Wall -g -O2 cflags=-Wall -g -O2 -pedantic -fstack-protector
ldflags_force=`pkg-config --libs libSystem` -L ../src -Wl,-rpath,../src -lDatabase ldflags_force=`pkg-config --libs libSystem` -L ../src -Wl,-rpath,../src -lDatabase
dist=Makefile dist=Makefile