From 95df174f06f5e3b9b3ad59a7f5183d595e26e2db Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Sun, 1 Sep 2013 17:45:05 +0200 Subject: [PATCH] Remove -g from default GCC_CFLAGS -g should be set by debugging-options or in the default CFLAGS="", we shouldn't force it in GCC_CFLAGS. Reported-by: Peter Hutterer Signed-off-by: David Herrmann Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a88f7c0..9b56500 100644 --- a/configure.ac +++ b/configure.ac @@ -42,7 +42,7 @@ AM_CONDITIONAL(BUILD_TESTS, [test "x$HAVE_CHECK" = "xyes"]) if test "x$GCC" = "xyes"; then - GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -pipe -fno-common -fno-strict-aliasing -ffunction-sections -fdata-sections -fstack-protector -fno-strict-aliasing -fdiagnostics-show-option -fno-common" + GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -pipe -fno-common -fno-strict-aliasing -ffunction-sections -fdata-sections -fstack-protector -fno-strict-aliasing -fdiagnostics-show-option -fno-common" fi AC_SUBST(GCC_CFLAGS)