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:
a7a5d48
)
fuzzer: EMULATION_ARGUMENT is also required when building on i386 for x86_64
author
Adrian Bunk
<bunk@debian.org>
Wed, 6 Jan 2021 19:16:26 +0000
(19:16 +0000)
committer
Sylvestre Ledru
<sylvestre@debian.org>
Wed, 6 Jan 2021 19:16:26 +0000
(19:16 +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 b5be6b89452e9b983317a4ce545949b7f54809a1..dcc47193f664e5bb6e92da560880dab02dc2d1d4 100644
(file)
--- a/
compiler-rt/lib/fuzzer/CMakeLists.txt
+++ b/
compiler-rt/lib/fuzzer/CMakeLists.txt
@@
-121,6
+121,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()