Skip to content
Snippets Groups Projects
Commit 997643ff authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

revert no_compact_unwind: it breaks exception handling

parent f7646540
No related branches found
No related tags found
No related merge requests found
Pipeline #10845 passed
......@@ -128,9 +128,10 @@ if(HAVE_DEPRECATED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
endif()
# remove "could not create compact unwind" linker warnings on macOS
# remove "could not create compact unwind" linker warnings on macOS; but breaks
# exception handling
if(APPLE)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-no_compact_unwind")
# set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-no_compact_unwind")
endif()
opt(MPI "Enable MPI" OFF)
......
......@@ -40,9 +40,10 @@ if(HAVE_DEPRECATED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
endif()
# remove "could not create compact unwind" linker warnings on macOS
# remove "could not create compact unwind" linker warnings on macOS; but breaks
# exception handling
if(APPLE)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-no_compact_unwind")
# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-no_compact_unwind")
endif()
# Find Gmsh
......
......@@ -40,9 +40,10 @@ if(HAVE_DEPRECATED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
endif()
# remove "could not create compact unwind" linker warnings on macOS
# remove "could not create compact unwind" linker warnings on macOS; but breaks
# exception handling
if(APPLE)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-no_compact_unwind")
# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-no_compact_unwind")
endif()
# Find Gmsh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment