]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: do not set -fstrict-aliasing explicitly 17470/head
authorMatthias Maier <tamiko@43-1.org>
Sun, 11 Aug 2024 18:59:19 +0000 (13:59 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sun, 11 Aug 2024 18:59:19 +0000 (13:59 -0500)
This flag is part of the -O2 optimization set already. So let's not set
it manually.

cmake/setup_compiler_flags_gnu.cmake

index 0a28cd0e21e25275fefabfe68f799f979d485327..263c57bc857d0e6d1e5a57656baf442b74de92d1 100644 (file)
@@ -162,7 +162,6 @@ if (CMAKE_BUILD_TYPE MATCHES "Release")
 
   enable_if_supported(DEAL_II_CXX_FLAGS_RELEASE "-funroll-loops")
   enable_if_supported(DEAL_II_CXX_FLAGS_RELEASE "-funroll-all-loops")
-  enable_if_supported(DEAL_II_CXX_FLAGS_RELEASE "-fstrict-aliasing")
 
   #
   # Disable assert() in deal.II and user projects in release mode

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.