add the patch

This commit is contained in:
Sylvestre Ledru 2019-10-25 09:26:30 +02:00
parent d60813a095
commit 908dbe1d6c
2 changed files with 14 additions and 13 deletions

View File

@ -1,13 +0,0 @@
Index: llvm-toolchain-snapshot-10~+201910241319490700d0bd3fc88be/compiler-rt/lib/fuzzer/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot-10~+201910241319490700d0bd3fc88be.orig/compiler-rt/lib/fuzzer/CMakeLists.txt
+++ llvm-toolchain-snapshot-10~+201910241319490700d0bd3fc88be/compiler-rt/lib/fuzzer/CMakeLists.txt
@@ -122,7 +122,7 @@ if(OS_NAME MATCHES "Linux|Fuchsia" AND
COMPILER_RT_LIBCXXABI_PATH)
macro(partially_link_libcxx name dir arch)
if(${arch} MATCHES "i386")
- set(EMULATION_ARGUMENT "-m" "elf_i386")
+ set(EMULATION_ARGUMENT "")
else()
set(EMULATION_ARGUMENT "")
endif()

View File

@ -0,0 +1,14 @@
Index: llvm-toolchain-snapshot_10~+20191025004812+60b403e75cd/compiler-rt/lib/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot_10~+20191025004812+60b403e75cd.orig/compiler-rt/lib/CMakeLists.txt
+++ llvm-toolchain-snapshot_10~+20191025004812+60b403e75cd/compiler-rt/lib/CMakeLists.txt
@@ -56,6 +56,6 @@ if(COMPILER_RT_BUILD_XRAY)
compiler_rt_build_runtime(xray)
endif()
-if(COMPILER_RT_BUILD_LIBFUZZER)
- compiler_rt_build_runtime(fuzzer)
-endif()
+#if(COMPILER_RT_BUILD_LIBFUZZER)
+# compiler_rt_build_runtime(fuzzer)
+#endif()