mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
fix configure check for the -fno-strict-aliasing flag
This commit is contained in:
parent
dd4edd09eb
commit
f5ae447be9
@ -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([
|
||||
|
Loading…
Reference in New Issue
Block a user