Kaynağa Gözat

samples/spawn-thread: Disable libc and pthread (#2883)

because this sample doesn't really require them.
YAMAMOTO Takashi 2 yıl önce
ebeveyn
işleme
9c3581c179
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      samples/spawn-thread/CMakeLists.txt

+ 2 - 2
samples/spawn-thread/CMakeLists.txt

@@ -45,9 +45,9 @@ endif ()
 set(WAMR_BUILD_INTERP 1)
 set(WAMR_BUILD_AOT 1)
 set(WAMR_BUILD_JIT 0)
-set(WAMR_BUILD_LIBC_BUILTIN 1)
 set(WAMR_BUILD_FAST_INTERP 1)
-set(WAMR_BUILD_LIB_PTHREAD 1)
+set(WAMR_BUILD_THREAD_MGR 1)
+set(WAMR_BUILD_SHARED_MEMORY 1)
 
 # compiling and linking flags
 if (NOT (CMAKE_C_COMPILER MATCHES ".*clang.*" OR CMAKE_C_COMPILER_ID MATCHES ".*Clang"))