summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff')
-rw-r--r--target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff b/target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff
new file mode 100644
index 000000000..20641a7a5
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/002-use-openwrt-toolchain.diff
@@ -0,0 +1,12 @@
+Index: linux-2.6.30.9/arch/rlx/Makefile
+===================================================================
+--- linux-2.6.30.9.orig/arch/rlx/Makefile 2011-12-04 13:21:19.000000000 +0000
++++ linux-2.6.30.9/arch/rlx/Makefile 2011-12-04 13:21:25.000000000 +0000
+@@ -32,6 +32,7 @@
+ cflags-y := -ffunction-sections
+ cflags-y += $(call cc-option, -mno-check-zero-division)
+ cflags-y += -mabi=32
++cflags-y += -march=4181
+
+ #
+ # GCC uses -G 0 -mabicalls -fpic as default. We don't want PIC in the kernel