projects
/
llvm-toolchain-12.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13c2b8a
)
fuzzer: EMULATION_ARGUMENT is also required when building on i386 for x86_64
author
Adrian Bunk
<bunk@debian.org>
Sat, 29 Jan 2022 09:17:38 +0000
(09:17 +0000)
committer
Sylvestre Ledru
<sylvestre@debian.org>
Sat, 29 Jan 2022 09:17:38 +0000
(09:17 +0000)
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 3201ed279a621de7713b4b19f6cd18e289ba5347..cb4fc348ef5851f3a0ee6452eef222cb0673265d 100644
(file)
--- a/
compiler-rt/lib/fuzzer/CMakeLists.txt
+++ b/
compiler-rt/lib/fuzzer/CMakeLists.txt
@@
-138,6
+138,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()