Compile with SSP and PIE by default
This commit is contained in:
parent
5bda617a99
commit
a288d05d89
|
@ -1,7 +1,7 @@
|
|||
targets=libDesktop
|
||||
cppflags_force=-I ../include
|
||||
cflags_force=-W `pkg-config --cflags libSystem gtk+-2.0`
|
||||
cflags=-Wall -g -O2 -fPIC -pedantic -fstack-protector
|
||||
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 --libs libSystem gtk+-2.0`
|
||||
dist=Makefile
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
targets=widget
|
||||
cppflags_force=-I ../include
|
||||
cflags_force=-W `pkg-config --cflags libSystem gtk+-2.0`
|
||||
cflags=-Wall -g -O2 -pedantic -fstack-protector
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-2.0`
|
||||
ldflags=$(OBJDIR)../src/libDesktop.a
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-2.0` $(OBJDIR)../src/libDesktop.a
|
||||
dist=Makefile
|
||||
|
||||
[widget]
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
targets=widget
|
||||
cppflags_force=-I ../include
|
||||
cflags_force=-W `pkg-config --cflags libSystem gtk+-2.0`
|
||||
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-2.0`
|
||||
ldflags=-L $(OBJDIR)../src -lDesktop -Wl,-pie
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-2.0` -L $(OBJDIR)../src -lDesktop
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile
|
||||
|
||||
[widget]
|
||||
|
|
Loading…
Reference in New Issue
Block a user