summaryrefslogtreecommitdiff
path: root/dev-util/ccache/files/ccache-4.0-objdump.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ccache/files/ccache-4.0-objdump.patch')
-rw-r--r--dev-util/ccache/files/ccache-4.0-objdump.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/ccache/files/ccache-4.0-objdump.patch b/dev-util/ccache/files/ccache-4.0-objdump.patch
new file mode 100644
index 000000000000..af48e997f50b
--- /dev/null
+++ b/dev-util/ccache/files/ccache-4.0-objdump.patch
@@ -0,0 +1,12 @@
+Allow ${CHOST}-objdump (or any other override)
+--- a/test/run
++++ b/test/run
+@@ -133,7 +133,7 @@ objdump_cmd() {
+ # back to brute force and ignorance.
+ strings "$1"
+ else
+- objdump -W "$file"
++ ${OBJDUMP-objdump} -W "$file"
+ fi
+ }
+