]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gcc-cross: Fix relative links
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Jul 2022 14:27:10 +0000 (15:27 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Aug 2022 18:55:32 +0000 (19:55 +0100)
Now that we're using absolute paths to run configure, there are absolute
path symlinks within gcc's output. Use our script that fixes these so
that the sstate objects work correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-cross.inc

index 3ffa1f0c460f76a470a30ff541375492522edab6..a540fb2434af7cce3b85a10fe75e4d7bbf0b823c 100644 (file)
@@ -149,6 +149,7 @@ do_gcc_stash_builddir () {
        # Makefile does move-if-change which can end up with 'timestamp' as file contents so break links to those files
        rm $dest/gcc/include/*.h
        cp gcc/include/*.h $dest/gcc/include/
+       sysroot-relativelinks.py $dest
 }
 addtask do_gcc_stash_builddir after do_compile before do_install
 SSTATETASKS += "do_gcc_stash_builddir"