aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/llvm/9/libcxxabi-wasm.patch
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-09-19 13:19:41 -0500
committerWill Dietz <w@wdtz.org>2019-09-19 13:19:41 -0500
commit9552213d07304ad8909af4a8da6a528f8f998349 (patch)
tree0d7b58983753d57e6794ef257a85d1a366475c4f /pkgs/development/compilers/llvm/9/libcxxabi-wasm.patch
parent433d54008527d4afeb18dc6310017e1922212ad0 (diff)
llvmPackages_9: copy llvmPackages_8
Diffstat (limited to 'pkgs/development/compilers/llvm/9/libcxxabi-wasm.patch')
-rw-r--r--pkgs/development/compilers/llvm/9/libcxxabi-wasm.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/9/libcxxabi-wasm.patch b/pkgs/development/compilers/llvm/9/libcxxabi-wasm.patch
new file mode 100644
index 000000000000..4ebfe46aa813
--- /dev/null
+++ b/pkgs/development/compilers/llvm/9/libcxxabi-wasm.patch
@@ -0,0 +1,16 @@
+diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake
+index 15497d405e0..33f7f18193a 100644
+--- a/cmake/modules/HandleLLVMOptions.cmake
++++ b/cmake/modules/HandleLLVMOptions.cmake
+@@ -127,7 +127,10 @@ else(WIN32)
+ set(LLVM_HAVE_LINK_VERSION_SCRIPT 1)
+ endif()
+ else(FUCHSIA OR UNIX)
+- MESSAGE(SEND_ERROR "Unable to determine platform")
++ if(${CMAKE_SYSTEM_NAME} MATCHES "Wasi")
++ else()
++ MESSAGE(SEND_ERROR "Unable to determine platform")
++ endif()
+ endif(FUCHSIA OR UNIX)
+ endif(WIN32)
+