Commit e600cdf3 authored by Michal Privoznik's avatar Michal Privoznik Committed by Michael Tokarev
Browse files

configure: Undefine _FORTIFY_SOURCE prior using it

Currently, we are enforcing the _FORTIFY_SOURCE=2 without any
previous detection if the macro has been already defined, e.g.
by environment, or is just enabled by compiler by default.
Signed-off-by: default avatarMichal Privoznik <>
Signed-off-by: default avatarJan Vesely <>
Reviewed-by: default avatarPeter Maydell <>
Signed-off-by: default avatarMichael Tokarev <>
parent 6c2679fc
......@@ -3520,7 +3520,7 @@ if test "$gcov" = "yes" ; then
CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS"
LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS"
elif test "$debug" = "no" ; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment