mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-18 01:35:44 +00:00
Explicitly add -Wl,--export-all-symbols on mingw/cygwin.
Looks like cmake on windows is not expanding ENABLE_EXPORTS to -Wl,--export-all-symbols on mingw or cygwin, so add this back. llvm-svn: 178730
This commit is contained in:
parent
bf8dcf15ed
commit
f0937372e8
@ -52,4 +52,7 @@ add_llvm_unittest(JITTests
|
||||
${JITTestsSources}
|
||||
)
|
||||
|
||||
if(MINGW OR CYGWIN)
|
||||
set_property(TARGET JITTests PROPERTY LINK_FLAGS -Wl,--export-all-symbols)
|
||||
endif()
|
||||
set_target_properties(JITTests PROPERTIES ENABLE_EXPORTS 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user