summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/glibc/2.7/220-objdump_for_host.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/glibc/2.7/220-objdump_for_host.patch b/patches/glibc/2.7/220-objdump_for_host.patch
new file mode 100644
index 0000000..8730bc7
--- /dev/null
+++ b/patches/glibc/2.7/220-objdump_for_host.patch
@@ -0,0 +1,13 @@
+diff -durN glibc-2.7.orig/Makerules glibc-2.7/Makerules
+--- glibc-2.7.orig/Makerules 2007-08-26 04:18:03.000000000 +0200
++++ glibc-2.7/Makerules 2008-07-28 15:17:27.000000000 +0200
+@@ -1203,6 +1203,9 @@
+ # The include magic above causes those files to use this variable for flags.
+ CPPFLAGS-nonlib = -DNOT_IN_libc=1
+
++ifneq ($(OBJDUMP_FOR_HOST),)
++OBJDUMP = $(OBJDUMP_FOR_HOST)
++endif
+
+ ifeq ($(versioning),yes)
+ # Generate normalized lists of symbols, versions, and data sizes.