Build with SSP and PIE by default
This commit is contained in:
parent
b523e59221
commit
e424edd284
|
@ -1,8 +1,8 @@
|
|||
targets=debug,hayes,template
|
||||
cppflags_force=-I ../../include
|
||||
cppflags=
|
||||
cflags_force=-W `pkg-config --cflags glib-2.0`
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC
|
||||
cflags_force=`pkg-config --cflags glib-2.0` -fPIC
|
||||
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=`pkg-config --libs glib-2.0`
|
||||
includes=hayes.h
|
||||
dist=Makefile,hayes/command.h,hayes/quirks.h,osmocom.c
|
||||
|
|
|
@ -2,11 +2,11 @@ subdirs=16x16,24x24,32x32,48x48
|
|||
targets=blacklist,debug,engineering,gprs,gps,n900,openmoko,oss,panel,password,profiles,smscrypt,systray,template,ussd,video
|
||||
cppflags_force=-I ../../include
|
||||
cppflags=
|
||||
cflags_force=-W `pkg-config --cflags libSystem gtk+-2.0`
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-2.0` -fPIC
|
||||
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=`pkg-config --cflags libSystem gtk+-2.0`
|
||||
#cflags_force=-W `pkg-config --cflags libSystem gtk+-3.0`
|
||||
#cflags=-Wall -g -O2 -pedantic -fPIC
|
||||
#cflags_force=`pkg-config --cflags libSystem gtk+-3.0` -fPIC
|
||||
#cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
#ldflags_force=`pkg-config --cflags libSystem gtk+-3.0`
|
||||
dist=Makefile
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
subdirs=modems,plugins
|
||||
targets=phone,phonectl
|
||||
cppflags=
|
||||
cflags_force=-W `pkg-config --cflags libDesktop`
|
||||
cflags=-Wall -g -O2 -pedantic
|
||||
cflags_force=`pkg-config --cflags libDesktop`
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=`pkg-config --libs libDesktop` -lintl
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile,callbacks.h,modem.h,phone.h
|
||||
|
||||
[phone]
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
targets=hayes,modems,oss,pdu,plugins,ussd,tests.log
|
||||
cppflags_force=-I ../include
|
||||
cflags_force=-W
|
||||
cflags=-Wall -g -O2
|
||||
ldflags_force=-W
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile,tests.sh
|
||||
|
||||
[hayes]
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
targets=engineering,gprs,pdu,smscrypt
|
||||
cppflags_force=-I ../include
|
||||
cppflags=
|
||||
cflags_force=-W
|
||||
cflags=-Wall -g -O2
|
||||
cflags_force=
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile,common.c
|
||||
|
||||
[engineering]
|
||||
|
|
Loading…
Reference in New Issue
Block a user