From c494308b214c30f9348727aafaab0c9f55d5a4aa Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 8 Nov 2006 21:46:40 +0000 Subject: [PATCH] Add an additional debug mode for Hardened GCC. --- Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6fa2f918..d81533bc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,7 +32,11 @@ profile: $(MAKE) all CFLAGS="-pg -O2" debug: - $(MAKE) all CFLAGS="-g -DDEBUG" + $(MAKE) all CFLAGS="-ggdb -DDEBUG" +hardened-debug: + $(MAKE) all CFLAGS="-ggdb -DDEBUG" LDFLAGS="-nopie" + debuglite: - $(MAKE) all CFLAGS="-g -DDEBUGLITE" + $(MAKE) all CFLAGS="-ggdb -DDEBUGLITE" +