[gtranslator/wip/kalev/gtranslator-2-91-new-release: 13/13] build: Don't try to sed CFLAGS that are passed in



commit 2d2c48c783cf26fa59c8585c850f0f87284fb3dd
Author: Kalev Lember <kalevlember gmail com>
Date:   Sat Mar 14 17:24:54 2015 +0100

    build: Don't try to sed CFLAGS that are passed in

 configure.ac |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 581c743..5c517bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -242,8 +242,6 @@ AC_ARG_ENABLE(debug,
 AC_MSG_CHECKING([if a debug friendly version should be build])
 if test "x$enable_debug" = "xyes" ; then
        CFLAGS="$CFLAGS -ggdb -DDEBUG"
-else
-       CFLAGS="`echo $CFLAGS|sed -e s/-g.//g -e s/-ggdb//g`"
 fi
 AC_MSG_RESULT($enable_debug)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]