Compile with -pedantic and -fstack-protector by default

This commit is contained in:
Pierre Pronchery 2015-06-28 17:10:42 +02:00
parent 4b64310636
commit c20959a9af
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

@ -1,7 +1,7 @@
targets=array,config,includes,pylint.log,string,variable,tests.log
cppflags_force=-I ../include
cflags_force=-W
cflags=-Wall -g -O2
cflags=-Wall -g -O2 -pedantic -fstack-protector
ldflags_force=-L../src -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lSystem
ldflags=-L$(PREFIX)/lib -Wl,-rpath,"$(PWD)/../src"
dist=COPYING,Makefile,config.conf,config-noeol.conf,pylint.sh,python.sh,tests.sh

View File

@ -2,7 +2,7 @@ targets=configctl
cppflags_force=-I ../include
cppflags=
cflags_force=-W
cflags=-Wall -g -O2 -pedantic
cflags=-Wall -g -O2 -pedantic -fstack-protector
ldflags_force=-L../src -L$(OBJDIR). -Wl,-rpath,$(PREFIX)/lib -lSystem
dist=COPYING,Makefile