summaryrefslogtreecommitdiff
path: root/dev-util/ccache/files/ccache-3.7.12-objdump.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ccache/files/ccache-3.7.12-objdump.patch')
-rw-r--r--dev-util/ccache/files/ccache-3.7.12-objdump.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/ccache/files/ccache-3.7.12-objdump.patch b/dev-util/ccache/files/ccache-3.7.12-objdump.patch
new file mode 100644
index 000000000000..f5387104e453
--- /dev/null
+++ b/dev-util/ccache/files/ccache-3.7.12-objdump.patch
@@ -0,0 +1,12 @@
+Allow ${CHOST}-objdump (or any other override)
+--- a/test/suites/debug_prefix_map.bash
++++ b/test/suites/debug_prefix_map.bash
+@@ -24,7 +24,7 @@ objdump_cmd() {
+ if $HOST_OS_APPLE; then
+ xcrun dwarfdump -r0 $1
+ else
+- objdump -W $1
++ ${OBJDUMP-objdump} -W $1
+ fi
+ }
+