[Openmp-commits] [openmp] [OpenMP] Add extra flags to libomptarget and plugin builds (PR #74520)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 5 12:47:27 PST 2023


================
@@ -88,6 +88,22 @@ target_compile_definitions(PluginCommon PRIVATE
   DEBUG_PREFIX="PluginInterface"
 )
 
+target_compile_options(PluginCommon PUBLIC -fno-exceptions)
+
+if(NOT LLVM_ENABLE_RTTI)
+	target_compile_options(PluginCommon PUBLIC -fno-rtti)
----------------
jhuber6 wrote:

Weird indentation.

https://github.com/llvm/llvm-project/pull/74520


More information about the Openmp-commits mailing list