ccache: fix tests for cross compile targets

chayleaf 71d9bb7c 41ebe3a5

+4 -2
+4 -2
pkgs/development/tools/misc/ccache/default.nix
··· 31 # Linux it uses objdump. We don't have dwarfdump packaged for 32 # Darwin, so this patch updates the test to also use objdump on 33 # Darwin. 34 (substituteAll { 35 - src = ./force-objdump-on-darwin.patch; 36 - objdump = "${binutils.bintools}/bin/objdump"; 37 }) 38 ]; 39
··· 31 # Linux it uses objdump. We don't have dwarfdump packaged for 32 # Darwin, so this patch updates the test to also use objdump on 33 # Darwin. 34 + # Additionally, when cross compiling, the correct target prefix 35 + # needs to be set. 36 (substituteAll { 37 + src = ./fix-objdump-path.patch; 38 + objdump = "${binutils.bintools}/bin/${binutils.targetPrefix}objdump"; 39 }) 40 ]; 41
pkgs/development/tools/misc/ccache/force-objdump-on-darwin.patch pkgs/development/tools/misc/ccache/fix-objdump-path.patch