mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
autogen.sh: undef _FORTIFY_SOURCE, which now logs warnings when used with -O0
This commit is contained in:
parent
9eb977db5b
commit
66be655480
20
autogen.sh
20
autogen.sh
@ -51,16 +51,14 @@ args="$args \
|
||||
"
|
||||
fi
|
||||
|
||||
if [ "x$1" != "xc" ]; then
|
||||
echo
|
||||
echo "----------------------------------------------------------------"
|
||||
echo "Initialized build system. For a common configuration please run:"
|
||||
echo "----------------------------------------------------------------"
|
||||
echo
|
||||
echo "./configure CFLAGS='-g -O0' $args"
|
||||
echo
|
||||
else
|
||||
echo ./configure CFLAGS='-g -O0' $args
|
||||
./configure CFLAGS='-g -O0' $args
|
||||
echo
|
||||
echo "----------------------------------------------------------------"
|
||||
echo "Initialized build system. For a common configuration please run:"
|
||||
echo "----------------------------------------------------------------"
|
||||
echo
|
||||
echo "./configure CFLAGS='-g -O0 -Wp,-U_FORTIFY_SOURCE' $args"
|
||||
echo
|
||||
if [ "x$1" == "xc" ]; then
|
||||
./configure CFLAGS='-g -O0 -Wp,-U_FORTIFY_SOURCE' $args
|
||||
make clean
|
||||
fi
|
||||
|
@ -767,4 +767,8 @@ AC_MSG_RESULT([
|
||||
D-Bus interfaces dir: ${with_dbusinterfacedir}
|
||||
Split /usr: ${enable_split_usr}
|
||||
man pages: ${have_manpages}
|
||||
|
||||
CFLAGS: ${CFLAGS}
|
||||
CPPLAGS: ${CPPFLAGS}
|
||||
LDFLAGS: ${LDFLAGS}
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user