================
@@ -242,7 +242,8 @@ elseif(FUCHSIA OR UNIX OR CYGWIN)
   else()
     set(LLVM_HAVE_LINK_VERSION_SCRIPT 1)
   endif()
-elseif(CMAKE_SYSTEM_NAME STREQUAL "Generic")
+elseif(CMAKE_SYSTEM_NAME STREQUAL "Generic" OR
+       CMAKE_SYSTEM_NAME STREQUAL "Generic-ELF")
----------------
lenary wrote:

I sort-of see that, but my wariness is that all the existing in-tree caches are 
using `Generic` for baremetal targets that use ELF, as well. I don't know if 
that means `Generic-ELF` is newer, or what the difference is in cmake's 
internal logic with/without the suffix.

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

Reply via email to