Build with SSP and PIE by default
This commit is contained in:
parent
4768b9e531
commit
8072bac3c1
@ -1,6 +1,6 @@
|
||||
targets=coder
|
||||
cflags_force=-W `pkg-config --cflags libDesktop`
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
cflags_force=`pkg-config --cflags libDesktop`
|
||||
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all -fPIE
|
||||
ldflags_force=`pkg-config --libs libDesktop` -lintl
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile,callbacks.h,coder.h,project.h
|
||||
|
@ -1,6 +1,6 @@
|
||||
targets=asm
|
||||
cflags_force=-W
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
cflags_force=-fPIC
|
||||
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags=
|
||||
dist=Makefile
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
targets=ptrace
|
||||
cflags_force=-W `pkg-config --cflags glib-2.0`
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
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`
|
||||
ldflags=
|
||||
dist=Makefile
|
||||
|
@ -1,7 +1,7 @@
|
||||
subdirs=backend,debug,models
|
||||
targets=debugger,gdeasm,sequel,simulator
|
||||
cflags_force=-W `pkg-config --cflags libDesktop`
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
cflags_force=`pkg-config --cflags libDesktop`
|
||||
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector -fPIE
|
||||
ldflags_force=`pkg-config --libs libDesktop`
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile,debugger.h,gdeasm.h,sequel.h,simulator.h
|
||||
|
Loading…
Reference in New Issue
Block a user