Skip to content

Commit

Permalink
chore: Refactor gcc options in Linux compiler config
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Jul 8, 2024
1 parent e4a2677 commit 283591e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmake/linux/compilerconfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ set(_obs_gcc_c_options
-Wvla)

# gcc options for C++
set(_obs_gcc_cxx_options
# cmake-format: sortable
${_obs_gcc_c_options} -Winvalid-offsetof -Wno-overloaded-virtual)
set(_obs_gcc_cxx_options # cmake-format: sortable
${_obs_gcc_c_options} -Winvalid-offsetof -Wno-overloaded-virtual)

add_compile_options(
-fopenmp-simd
Expand Down

0 comments on commit 283591e

Please sign in to comment.