1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

removed default no-strict-aliasing for gcc-10.0.1 exclusively

This commit is contained in:
nils meyer 2020-04-22 19:29:55 +02:00
parent 39b448affb
commit 5893888f87

View File

@ -286,6 +286,10 @@ case ${CXX} in
CXXFLAGS="$CXXFLAGS -Xcompiler -fopenmp"
fi
;;
g++-10.0.1)
# removed -fno-strict-aliasing for gcc 10 dev build only
CXXFLAGS="$CXXFLAGS"
;;
*)
CXXLD=${CXX}
CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"