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

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Wed Dec 6 17:44:35 PST 2023


================
@@ -75,6 +75,25 @@ if(LIBOMPTARGET_ENABLE_DEBUG)
   add_definitions(-DOMPTARGET_DEBUG)
 endif()
 
+# No exceptions and no RTTI, except if requested.
+set(offload_compile_flags -fno-exceptions)
+if(NOT LLVM_ENABLE_RTTI)
+	set(offload_compile_flags ${offload_compile_flags} -fno-rtti)
----------------
jdoerfert wrote:

My editor disagrees for some reason. I'll try to fix it. Anything else?

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


More information about the Openmp-commits mailing list