Add an additional debug mode for Hardened GCC.

This commit is contained in:
Hisham Muhammad 2006-11-08 21:46:40 +00:00
parent c4fbd7fc8b
commit c494308b21
1 changed files with 6 additions and 2 deletions

View File

@ -32,7 +32,11 @@ profile:
$(MAKE) all CFLAGS="-pg -O2" $(MAKE) all CFLAGS="-pg -O2"
debug: debug:
$(MAKE) all CFLAGS="-g -DDEBUG" $(MAKE) all CFLAGS="-ggdb -DDEBUG"
hardened-debug:
$(MAKE) all CFLAGS="-ggdb -DDEBUG" LDFLAGS="-nopie"
debuglite: debuglite:
$(MAKE) all CFLAGS="-g -DDEBUGLITE" $(MAKE) all CFLAGS="-ggdb -DDEBUGLITE"