Skip to content

Commit a586b9e

Browse files
authored
Use safe compile option (#4413)
1 parent 5e0fc24 commit a586b9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/compileroptions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
5858
# TODO: verify this regression still exists in clang-15
5959
if (CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
6060
# work around performance regression - see https://github.com/llvm/llvm-project/issues/53555
61-
add_compile_options(-mllvm -inline-deferral)
61+
add_compile_options_safe(-mllvm -inline-deferral)
6262
endif()
6363

6464
# use force DWARF 4 debug format since not all tools might be able to handle DWARF 5 yet - e.g. valgrind on ubuntu 20.04

0 commit comments

Comments
 (0)