mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-24 16:01:09 +02:00
There are a number of ways the absolute path to a source file can make it into the compiler output, some of which can prevent cached results from being used when compiling related code in different locations. The default source directory $S contains the package version so paths need to be relative to it in order to work between package versions. Previously attempted in 8259b77fc8eba8cfda54da565882283953bfd61a, should be safe now that QEMU has been upgraded to 1.5. I've been using this setting on my Gentoo machines and haven't found any other issues. Also reverts commit 661ceb0fa114c499fa99b653bccb6d011c0d0b49.