aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/bugfix/m68k/m68k-linux-gnu-crosscompile.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/bugfix/m68k/m68k-linux-gnu-crosscompile.diff')
-rw-r--r--debian/patches/bugfix/m68k/m68k-linux-gnu-crosscompile.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/bugfix/m68k/m68k-linux-gnu-crosscompile.diff b/debian/patches/bugfix/m68k/m68k-linux-gnu-crosscompile.diff
new file mode 100644
index 000000000000..b300da1ac064
--- /dev/null
+++ b/debian/patches/bugfix/m68k/m68k-linux-gnu-crosscompile.diff
@@ -0,0 +1,20 @@
+Subject: [PATCH] m68k: CROSS_COMPILE = m68k-linux-gnu-
+
+Recent cross-compilers are called m68k-linux-gnu-gcc instead of m68k-linux-gcc
+
+Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
+---
+ arch/m68k/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- linux-m68k-2.6.21.orig/arch/m68k/Makefile
++++ linux-m68k-2.6.21/arch/m68k/Makefile
+@@ -21,7 +21,7 @@ AS += -m68020
+ LDFLAGS := -m m68kelf
+ ifneq ($(COMPILE_ARCH),$(ARCH))
+ # prefix for cross-compiling binaries
+- CROSS_COMPILE = m68k-linux-
++ CROSS_COMPILE = m68k-linux-gnu-
+ endif
+
+ ifdef CONFIG_SUN3