ldd: introduce compilation modes
This commit is contained in:
parent
e62fd466b5
commit
6f03429c7b
|
@ -1,8 +1,15 @@
|
||||||
targets=ldd
|
targets=ldd
|
||||||
cflags_force=-W
|
cppflags_force=
|
||||||
cflags=-Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector
|
cflags_force=-g
|
||||||
|
cflags=-W -Wall -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||||
ldflags=-Wl,-z,relro -Wl,-z,now
|
ldflags=-Wl,-z,relro -Wl,-z,now
|
||||||
dist=Makefile,elf.c
|
dist=Makefile,elf.c
|
||||||
|
mode=debug
|
||||||
|
|
||||||
|
#modes
|
||||||
|
[mode::release]
|
||||||
|
cppflags_force=-DNDEBUG
|
||||||
|
cflags_force=
|
||||||
|
|
||||||
#targets
|
#targets
|
||||||
[ldd]
|
[ldd]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user