mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 23:32:58 +00:00
Revert r122395, "Fixes file extension for loadable modules on OS X."
In trunk, every users assume add_llvm_loadable_module as "loadable module" and no one sets neither SHARED, ... nor also MODULE! Unfortunately, all loadable modules were linked as not "MODULE" but "SHARED". If this change caused any regressions, I wish guys to fix it properly. ;) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
07ce07daa0
commit
455bf8d5bd
@ -217,14 +217,7 @@ ${name} ignored.")
|
||||
# Add empty "phony" target
|
||||
add_custom_target(${name})
|
||||
else()
|
||||
llvm_process_sources( ALL_FILES ${ARGN} )
|
||||
if (MODULE)
|
||||
set(libkind MODULE)
|
||||
else()
|
||||
set(libkind SHARED)
|
||||
endif()
|
||||
|
||||
add_library( ${name} ${libkind} ${ALL_FILES} )
|
||||
add_library(${name} MODULE ${ALL_FILES})
|
||||
set_output_directory(${name} ${LLVM_RUNTIME_OUTPUT_INTDIR} ${LLVM_LIBRARY_OUTPUT_INTDIR})
|
||||
set_target_properties( ${name} PROPERTIES PREFIX "" )
|
||||
llvm_update_compile_flags(${name})
|
||||
|
Loading…
x
Reference in New Issue
Block a user