llvm.org GIT mirror llvm / 7ef18df
Fix DragonFlyBSD linkage issue. environ global failed on LTO linkage step. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346593 91177308-0d34-0410-b5e6-96231b3b80d8 David Carlier 11 months ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
137137 # build might work on ELF but fail on MachO/COFF.
138138 if(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR WIN32 OR CYGWIN OR
139139 ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR
140 ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") AND
140 ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" OR
141 ${CMAKE_SYSTEM_NAME} MATCHES "DragonFly") AND
141142 NOT LLVM_USE_SANITIZER)
142143 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,defs")
143144 endif()