[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:39:36 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:

Sorry I was looking that second commit, not the overall PR..

https://github.com/llvm/llvm-project/pull/118262


More information about the llvm-commits mailing list