Skip to content

Commit

Permalink
CMake: do not set -fstrict-aliasing explicitly
Browse files Browse the repository at this point in the history
This flag is part of the -O2 optimization set already. So let's not set
it manually.
  • Loading branch information
tamiko committed Aug 11, 2024
1 parent 878ed2b commit 9909e1f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmake/setup_compiler_flags_gnu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9909e1f

Please sign in to comment.