1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-13 01:05: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" CXXFLAGS="$CXXFLAGS -Xcompiler -fopenmp"
fi fi
;; ;;
g++-10.0.1)
# removed -fno-strict-aliasing for gcc 10 dev build only
CXXFLAGS="$CXXFLAGS"
;;
*) *)
CXXLD=${CXX} CXXLD=${CXX}
CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"