mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
build: use -ftrapv for development
We want to find these bugs if they exist.
This commit is contained in:
parent
9091e686f4
commit
5d5f8ffa07
@ -54,10 +54,10 @@ args="$args \
|
||||
fi
|
||||
|
||||
if [ "x$1" = "xc" ]; then
|
||||
./configure CFLAGS='-g -O0' --enable-kdbus $args
|
||||
./configure CFLAGS='-g -O0 -ftrapv' --enable-kdbus $args
|
||||
make clean
|
||||
elif [ "x$1" = "xg" ]; then
|
||||
./configure CFLAGS='-g -Og' --enable-kdbus $args
|
||||
./configure CFLAGS='-g -Og -ftrapv' --enable-kdbus $args
|
||||
make clean
|
||||
else
|
||||
echo
|
||||
@ -65,6 +65,6 @@ else
|
||||
echo "Initialized build system. For a common configuration please run:"
|
||||
echo "----------------------------------------------------------------"
|
||||
echo
|
||||
echo "./configure CFLAGS='-g -O0' --enable-kdbus $args"
|
||||
echo "./configure CFLAGS='-g -O0 -ftrapv' --enable-kdbus $args"
|
||||
echo
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user