]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
compile-rt: Fix building compiler-native on aarch64 build hosts.
authorKhem Raj <raj.khem@gmail.com>
Mon, 12 May 2025 04:10:47 +0000 (21:10 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 May 2025 09:10:40 +0000 (10:10 +0100)
commit1d4676d6b7c0fe40ab4f808dda436dc2f2915fd8
treecd06385b0051598aa4faf8e94254b60b204909a3
parentb317570acf1e25a4cfaa0c66a2630d082b4d0bae
compile-rt: Fix building compiler-native on aarch64 build hosts.

Using target triple confuses the native system compiler to find
libgcc and C runtime during compiler-rt-native build

Fixes
|     /home/khem/yoe/build/tmp/hosttools/ld: cannot find crtbeginS.o: No such file or directory
|     /home/khem/yoe/build/tmp/hosttools/ld: cannot find -lgcc: No such file or directory
|     /home/khem/yoe/build/tmp/hosttools/ld: cannot find -lgcc_s: No such file or directory
|     clang: error: linker command failed with exit code 1 (use -v to see invocation)
|     ninja: build stopped: subcommand failed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/clang/compiler-rt_git.bb