fix configure check for the -fno-strict-aliasing flag

This commit is contained in:
Sergey Kosukhin 2022-04-19 10:47:33 +02:00
parent dd4edd09eb
commit f5ae447be9

View File

@ -61,6 +61,7 @@ AC_CONFIG_HEADERS([config.h])
##
SAVE_CFLAGS="${CFLAGS}"
AC_LANG_PUSH([C])
AC_LANG_COMPILER_REQUIRE
CFLAGS="${CFLAGS} -fno-strict-aliasing"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([