projects
/
llvm-toolchain-9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a53b32
)
fuzzer: EMULATION_ARGUMENT is also required when building on i386 for x86_64
author
Adrian Bunk
<bunk@debian.org>
Sat, 10 Jul 2021 21:52:37 +0000
(22:52 +0100)
committer
Andreas Beckmann
<anbe@debian.org>
Sat, 10 Jul 2021 21:52:37 +0000
(22:52 +0100)
Gbp-Pq: Name x86-fuzzer.patch
compiler-rt/lib/fuzzer/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/fuzzer/CMakeLists.txt
b/compiler-rt/lib/fuzzer/CMakeLists.txt
index 852019dc1545d050619c73c4eed26dca43d9bba7..5b8b56a45a50e6b1730fe4a65122e71427ab0508 100644
(file)
--- a/
compiler-rt/lib/fuzzer/CMakeLists.txt
+++ b/
compiler-rt/lib/fuzzer/CMakeLists.txt
@@
-123,6
+123,8
@@
if(OS_NAME MATCHES "Linux|Fuchsia" AND
macro(partially_link_libcxx name dir arch)
if(${arch} MATCHES "i386")
set(EMULATION_ARGUMENT "-m" "elf_i386")
+ elseif(${arch} MATCHES "x86_64")
+ set(EMULATION_ARGUMENT "-m" "elf_x86_64")
else()
set(EMULATION_ARGUMENT "")
endif()