[llvm] Fix warnings while building llvm against emscripten for web assembly (PR #118262)
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 2 12:38:43 PST 2024
================
@@ -646,7 +646,7 @@ function(llvm_add_library name)
if(EMSCRIPTEN)
add_library(${name} STATIC ${ALL_FILES})
else()
- add_library(${name} MODULE ${ALL_FILES})
+ add_library(${name} SHARED ${ALL_FILES})
----------------
sbc100 wrote:
This change looks like its change the non-emscripten case. Is that intended?
https://github.com/llvm/llvm-project/pull/118262
More information about the llvm-commits
mailing list