From 09ecb47a533eccb9f8459230a9dfc7985931b617 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 5 Oct 2017 10:41:15 +0200 Subject: [PATCH] Use -O in debug mode --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8579ff95..48a49b6d 100644 --- a/configure.ac +++ b/configure.ac @@ -156,7 +156,7 @@ AC_ARG_ENABLE(debug, [-g*], [ ], [*], [AS_VAR_APPEND([nxflags], [" $flag"])]) done - CFLAGS="$nxflags -O0 -g3" + CFLAGS="$nxflags -O -g3" ]) ENABLE_CWFLAGS=yes CPPFLAGS="$CPPFLAGS -DDEBUG=1 -U_FORTIFY_SOURCE"