From c17bbdbf8c9153f9e6c71b634cb83b000c26593d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 14 Dec 2019 21:40:18 -0800 Subject: cpio: Link with compiler-rt when using clang Fixes /usr/src/debug/cpio/2.13-r0/build/gnu/../../cpio-2.13/gnu/xmalloc.c:100: undefined reference to `__mulodi4' clang-9: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:1124: recipe for target 'rmt' failed Signed-off-by: Khem Raj --- conf/nonclangable.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index dd5eb51..70336bb 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -222,6 +222,7 @@ TUNE_CCARGS_remove_pn-omxplayer_toolchain-clang = "-no-integrated-as" #| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) COMPILER_RT_pn-ruby_toolchain-clang = "--rtlib=compiler-rt ${UNWINDLIB}" COMPILER_RT_pn-m4_toolchain-clang = "--rtlib=compiler-rt ${UNWINDLIB}" +COMPILER_RT_pn-cpio_toolchain-clang = "--rtlib=compiler-rt ${UNWINDLIB}" COMPILER_RT_pn-webkitgtk_toolchain-clang = "--rtlib=compiler-rt ${UNWINDLIB}" COMPILER_RT_remove_pn-m4_powerpc = "--rtlib=compiler-rt" COMPILER_RT_remove_pn-ruby_powerpc = "--rtlib=compiler-rt" -- cgit v1.2.3-54-g00ecf