From 68ed124283d5a6e609efd701f061b9272dc53907 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Sat, 28 Jan 2023 20:01:37 +0000 Subject: [PATCH] ECC-1508: Tune compilation flags --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2523ecd85..4bd4e05e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ ecbuild_info("Operating system=${CMAKE_SYSTEM} (${EC_OS_BITS} bits)") if( CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) ecbuild_add_cxx_flags("-Wno-write-strings -Wno-deprecated") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") - ecbuild_add_cxx_flags("-fpermissive -Wno-deprecated -Wno-c++11-compat-deprecated-writable-strings") + ecbuild_add_cxx_flags("-Wno-deprecated -Wno-c++11-compat-deprecated-writable-strings") elseif( CMAKE_CXX_COMPILER_ID STREQUAL "Cray" ) set(CMAKE_CXX_FLAGS "-hstd=c++11 ${CMAKE_CXX_FLAGS}") endif()