Skip to content

Commit

Permalink
Avoid redefinition warning of _FORTIFY_SOURCE on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul committed May 28, 2024
1 parent 363b6fc commit cdd28ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2648,7 +2648,7 @@ else
# spews a lot of warnings.
if test x$enable_debug != xyes; then
if test x$GCC = xyes; then
CPPFLAGS="-D_FORTIFY_SOURCE=1 $CPPFLAGS"
CPPFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 $CPPFLAGS"
fi
fi
fi
Expand Down

0 comments on commit cdd28ab

Please sign in to comment.