mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
9abff4af4f
Adds pkgsCross.wasm32 and pkgsCross.wasm64. Use it to build Nixpkgs with a WebAssembly toolchain. stdenv/cross: use static overlay on isWasm isWasm doesn’t make sense dynamically linked.
13 lines
374 B
Diff
13 lines
374 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 4138acf..41b4763 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -362,6 +362,7 @@ if (NOT LIBCXXABI_ENABLE_THREADS)
|
|
" is also set to ON.")
|
|
endif()
|
|
add_definitions(-D_LIBCXXABI_HAS_NO_THREADS)
|
|
+ add_definitions(-D_LIBCPP_HAS_NO_THREADS)
|
|
endif()
|
|
|
|
if (LIBCXXABI_HAS_EXTERNAL_THREAD_API)
|