================
@@ -12,8 +12,13 @@ set(CLANG_INCLUDE_DIRS "@CLANG_CONFIG_INCLUDE_DIRS@")
 set(CLANG_LINK_CLANG_DYLIB "@CLANG_LINK_CLANG_DYLIB@")
 set(CLANG_DEFAULT_LINKER "@CLANG_DEFAULT_LINKER@")
 
-# Provide all our library targets to users.
-@CLANG_CONFIG_INCLUDE_EXPORTS@
+# Provide all our library targets to users. Skip when
+# LLVM_OMIT_EXPORTS_FROM_CONFIG flag is set. Runtimes build do not need these.
+# These exports may contain shared libraries and they are causing cmake errors
+# when the target platform is baremetal, which lack shared library support.
----------------
zeroomega wrote:

Done

https://github.com/llvm/llvm-project/pull/210496
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to