Add debugging info to test binaries and disable optimizations.

Signed-off-by: Tyler Hicks <[email protected]>
---
 tests/regression/apparmor/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/regression/apparmor/Makefile 
b/tests/regression/apparmor/Makefile
index 55f59a3..2a420b8 100644
--- a/tests/regression/apparmor/Makefile
+++ b/tests/regression/apparmor/Makefile
@@ -46,7 +46,7 @@ libapparmor by adding USE_SYSTEM=1 to your make command.${nl}\
   LDLIBS += -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread
 endif # USE_SYSTEM
 
-CFLAGS += -Wall -Wstrict-prototypes
+CFLAGS += -g -O0 -Wall -Wstrict-prototypes
 
 SRC=access.c \
     introspect.c \
-- 
1.9.1


-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to