Compile with -pedantic and -fstack-protector by default
This commit is contained in:
parent
6ba8d90256
commit
15d605e464
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue
Block a user