1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

Modified CFLAGS management (can now be customized)

This commit is contained in:
Sebastien Helleu
2004-11-05 21:05:32 +00:00
parent 0955167b6b
commit cf9d394e3a
2 changed files with 12 additions and 4 deletions
+6 -2
View File
@@ -108,10 +108,14 @@ fi
AC_SUBST(PLUGINS_LIBS)
CFLAGS=`echo $CFLAGS | sed s/-g//g`
if test "x$CFLAGS" = "x" ; then
CFLAGS="-O2"
fi
if test "x$debug" = "x1" || test "x$debug" = "x2" ; then
CFLAGS="-Wall -W -pipe -O2 -g"
CFLAGS="-Wall -W $CFLAGS -pipe -g"
else
CFLAGS="-Wall -W -pipe -O2"
CFLAGS="-Wall -W $CFLAGS -pipe"
fi
if test "x$debug" = "x2" ; then
+6 -2
View File
@@ -108,10 +108,14 @@ fi
AC_SUBST(PLUGINS_LIBS)
CFLAGS=`echo $CFLAGS | sed s/-g//g`
if test "x$CFLAGS" = "x" ; then
CFLAGS="-O2"
fi
if test "x$debug" = "x1" || test "x$debug" = "x2" ; then
CFLAGS="-Wall -W -pipe -O2 -g"
CFLAGS="-Wall -W $CFLAGS -pipe -g"
else
CFLAGS="-Wall -W -pipe -O2"
CFLAGS="-Wall -W $CFLAGS -pipe"
fi
if test "x$debug" = "x2" ; then