mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178730 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
436633e2a2
commit
b8bfb62e85
@ -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…
Reference in New Issue
Block a user