mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
autogen: use -O0 for "autogen.sh c" after all
-Og actually breaks gdb still, so let's stick to -O0 for now, but introduce "autogen.sh g" for those who don't need gdb.
This commit is contained in:
parent
d36679f72e
commit
0fc6e1ed00
@ -54,6 +54,9 @@ args="$args \
|
||||
fi
|
||||
|
||||
if [ "x$1" = "xc" ]; then
|
||||
./configure CFLAGS='-g -O0' $args
|
||||
make clean
|
||||
elif [ "x$1" = "xg" ]; then
|
||||
./configure CFLAGS='-g -Og' $args
|
||||
make clean
|
||||
else
|
||||
@ -62,6 +65,6 @@ else
|
||||
echo "Initialized build system. For a common configuration please run:"
|
||||
echo "----------------------------------------------------------------"
|
||||
echo
|
||||
echo "./configure CFLAGS='-g -Og' $args"
|
||||
echo "./configure CFLAGS='-g -O0' $args"
|
||||
echo
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user