mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 10:13:12 +02:00
Fix bug with system clfags when there's "-g" in option name, like "-mpowerpc-gfxopt"
This commit is contained in:
+4
-1
@@ -842,7 +842,10 @@ else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
CFLAGS=`echo $CFLAGS | sed s/-g//g`
|
||||
CFLAGS=`echo $CFLAGS | sed 's/ -g //g'`
|
||||
CFLAGS=`echo $CFLAGS | sed 's/^-g //g'`
|
||||
CFLAGS=`echo $CFLAGS | sed 's/ -g$//g'`
|
||||
CFLAGS=`echo $CFLAGS | sed 's/^-g$//g'`
|
||||
if test "x$debug" = "x0" ; then
|
||||
CFLAGS="$COMMON_CFLAGS $CFLAGS"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user