Compile with -pedantic and -fstack-protector by default

This commit is contained in:
Pierre Pronchery 2015-06-28 19:04:40 +02:00
parent 6ba8d90256
commit 15d605e464
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ targets=backup,cvs,dirtree,favorites,git,make,preview,properties,selection,subve
cppflags_force=-I ../../include
cppflags=
cflags_force=-W `pkg-config --cflags libDesktop`
cflags=-Wall -g -O2 -pedantic -fPIC
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
ldflags_force=`pkg-config --libs libDesktop`
dist=Makefile,common.c

View File

@ -1,7 +1,7 @@
targets=libBrowser,browser,copy,delete,desktop,desktopctl,move,open,properties,view
#cppflags=-D EMBEDDED
cflags_force=-W `pkg-config --cflags libDesktop`
cflags=-Wall -g -O2 -pedantic
cflags=-Wall -g -O2 -pedantic -fstack-protector
ldflags_force=`pkg-config --libs libDesktop` -lintl
dist=Makefile,browser.h,callbacks.h,common.c,desktop.h,desktopicon.h

View File

@ -1,7 +1,7 @@
targets=plugins,vfs,tests.log
cppflags_force=-I ../include
cflags_force=-W `pkg-config --cflags libDesktop`
cflags=-Wall -g -O2
cflags=-Wall -g -O2 -pedantic -fstack-protector
ldflags_force=-W `pkg-config --libs libDesktop`
dist=Makefile,tests.sh

View File

@ -1,6 +1,6 @@
targets=dirtree,iconlist
cflags_force=-W `pkg-config --cflags gtk+-2.0`
cflags=-Wall -g -O2
cflags=-Wall -g -O2 -pedantic -fstack-protector
ldflags_force=`pkg-config --libs gtk+-2.0`
#for Gtk+ 3
#cflags_force=-W `pkg-config --cflags gtk+-3.0`