[PATCH] D23975: Support of kfreebsd & GNU Hurd in llvm-shlib

Pino Toscano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 11:58:15 PDT 2017


pinotree updated this revision to Diff 97992.
pinotree edited the summary of this revision.
pinotree added a comment.
Herald added subscribers: krytarowski, mgorny.

Update to the latest HEAD.


https://reviews.llvm.org/D23975

Files:
  tools/llvm-shlib/CMakeLists.txt


Index: tools/llvm-shlib/CMakeLists.txt
===================================================================
--- tools/llvm-shlib/CMakeLists.txt
+++ tools/llvm-shlib/CMakeLists.txt
@@ -37,7 +37,7 @@
 add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES})
 
 list(REMOVE_DUPLICATES LIB_NAMES)
-if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD") OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")) # FIXME: It should be "GNU ld for elf"
+if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD") OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly") OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "GNU") OR (OR "${CMAKE_SYSTEM_NAME}" STREQUAL "kFreeBSD")) # FIXME: It should be "GNU ld for elf"
   configure_file(
   ${CMAKE_CURRENT_SOURCE_DIR}/simple_version_script.map.in
   ${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23975.97992.patch
Type: text/x-patch
Size: 938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170505/36d41cbd/attachment.bin>


More information about the llvm-commits mailing list