We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4299d1e commit 0ff144bCopy full SHA for 0ff144b
flang-rt/cmake/modules/AddFlangRT.cmake
@@ -74,6 +74,10 @@ function (add_flangrt_library name)
74
target_compile_options(${name} PRIVATE
75
$<$<COMPILE_LANGUAGE:CXX>:/EHs-c- /GR->
76
)
77
+ elseif (CMAKE_CXX_COMPILER_ID MATCHES "XL")
78
+ target_compile_options(${name} PRIVATE
79
+ $<$<COMPILE_LANGUAGE:CXX>:-qnoeh -qnortti>
80
+ )
81
endif ()
82
83
# Flang-rt's public headers
0 commit comments