diff --git a/configure b/configure index 40c53d5e3..506f3f791 100755 --- a/configure +++ b/configure @@ -8293,7 +8293,7 @@ fi SHLIB_CXXFLAGS="-shared -fPIC $CXXFLAGS" INSTALL_DLLS="" fi - CC="$CC -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -Wstrict-aliasing=2" + CC="$CC -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall" DYNYAPLIB=libYap."$SO" SONAMEFLAG="" YAPLIB_LD="$CC -dynamiclib -Wl,-install_name,$prefix/lib/libYap.$SO" diff --git a/configure.in b/configure.in index cc03e2acd..4efa9ea45 100755 --- a/configure.in +++ b/configure.in @@ -1360,7 +1360,7 @@ dnl Linux has both elf and a.out, in this case we found elf SHLIB_CXXFLAGS="-shared -fPIC $CXXFLAGS" INSTALL_DLLS="" fi - CC="$CC -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall -Wstrict-aliasing=2" + CC="$CC -fstrict-aliasing -freorder-blocks -fsched-interblock -Wall" DYNYAPLIB=libYap."$SO" SONAMEFLAG="" YAPLIB_LD="$CC -dynamiclib -Wl,-install_name,$prefix/lib/libYap.$SO"