configure: Warn about strict alliasing issues in strict builds
This commit is contained in:
parent
2fa6700599
commit
544dcc6827
|
@ -1091,7 +1091,7 @@ if test "${enable_pedantic}" = "yes"; then
|
|||
CFLAGS="-pedantic ${CFLAGS}"
|
||||
fi
|
||||
if test "${enable_strict}" = "yes"; then
|
||||
CFLAGS="-Wall -Wextra -Wno-unused-parameter -Werror ${CFLAGS}"
|
||||
CFLAGS="-Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 ${CFLAGS}"
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
|
|
Loading…
Reference in New Issue