ccache: fix tests for cross compile targets
This commit is contained in:
parent
41ebe3a503
commit
71d9bb7cc6
2 changed files with 4 additions and 2 deletions
|
@ -31,9 +31,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
# Linux it uses objdump. We don't have dwarfdump packaged for
|
||||
# Darwin, so this patch updates the test to also use objdump on
|
||||
# Darwin.
|
||||
# Additionally, when cross compiling, the correct target prefix
|
||||
# needs to be set.
|
||||
(substituteAll {
|
||||
src = ./force-objdump-on-darwin.patch;
|
||||
objdump = "${binutils.bintools}/bin/objdump";
|
||||
src = ./fix-objdump-path.patch;
|
||||
objdump = "${binutils.bintools}/bin/${binutils.targetPrefix}objdump";
|
||||
})
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue