Make use of configure --enable-maintainer-mode
Currently it adds `-O0` to `CFLAGS`.
This commit is contained in:
parent
55fcb3cbf7
commit
cfa4ec43d9
@ -133,7 +133,14 @@ if test x"$debug" = x"$enableval"; then
|
|||||||
if test x"$cflags_set" != x"set"; then
|
if test x"$cflags_set" != x"set"; then
|
||||||
case " $CFLAGS " in
|
case " $CFLAGS " in
|
||||||
*[[\ \ ]]-g[[\ \ ]]*) ;;
|
*[[\ \ ]]-g[[\ \ ]]*) ;;
|
||||||
*) CFLAGS="$CFLAGS -g" ;;
|
*)
|
||||||
|
CFLAGS="$CFLAGS -g"
|
||||||
|
|
||||||
|
if test x"$USE_MAINTAINER_MODE" = x"$enableval"; then
|
||||||
|
CFLAGS="$CFLAGS -O0"
|
||||||
|
fi
|
||||||
|
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user