From 5893888f87648a83a9c402a4f8cab583b4d20e52 Mon Sep 17 00:00:00 2001 From: nils meyer Date: Wed, 22 Apr 2020 19:29:55 +0200 Subject: [PATCH] removed default no-strict-aliasing for gcc-10.0.1 exclusively --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 3d4ee383..ec774b49 100644 --- a/configure.ac +++ b/configure.ac @@ -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"