Skip to content

Commit ab692ed

Browse files
committed
compiler-rt: Do not pass --target to clang compiler
In OE we use <tuple>-clang and <tuple>-clang++ which should resolve the --target correctly. Upstream-Status: Inappropriate [ OE-Specific ] Signed-off-by: Khem Raj <[email protected]>
1 parent 6152b03 commit ab692ed

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compiler-rt/lib/fuzzer/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ if(OS_NAME MATCHES "Android|Linux|Fuchsia" AND
140140
COMPILER_RT_LIBCXXABI_PATH)
141141
macro(partially_link_libcxx name dir arch)
142142
get_target_flags_for_arch(${arch} target_cflags)
143-
if(CMAKE_CXX_COMPILER_ID MATCHES Clang)
144-
get_compiler_rt_target(${arch} target)
145-
set(target_cflags --target=${target} ${target_cflags})
146-
endif()
147143
set(cxx_${arch}_merge_dir "${CMAKE_CURRENT_BINARY_DIR}/cxx_${arch}_merge.dir")
148144
file(MAKE_DIRECTORY ${cxx_${arch}_merge_dir})
149145
add_custom_command(TARGET clang_rt.${name}-${arch} POST_BUILD

0 commit comments

Comments
 (0)