Skip to content

Commit

Permalink
configure: remove -fno-strict-aliasing
Browse files Browse the repository at this point in the history
lib/json.c seems to be the last place where -fno-strict-aliasing was
needed. It is obsolete now and we can remove it.

Bug: https://bugs.gentoo.org/861371
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
  • Loading branch information
arkamar authored and jelmer committed Aug 22, 2022
1 parent b86f37d commit e9eee04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ if [ "$debug" = "1" ]; then
echo 'DEBUG=1' >> Makefile.settings
CFLAGS="$CFLAGS -g3 -DDEBUG -O0"
else
[ -z "$CFLAGS" ] && CFLAGS="-g -O2 -fno-strict-aliasing"
[ -z "$CFLAGS" ] && CFLAGS="-g -O2"
fi

if [ "$pie" = "1" ]; then
Expand Down

0 comments on commit e9eee04

Please sign in to comment.