From 5c105d9f3fd086aff195d3849dcf847d6b0bd927 Mon Sep 17 00:00:00 2001 From: blogic Date: Fri, 5 Oct 2012 10:12:53 +0000 Subject: branch Attitude Adjustment git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33625 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ubicom32/patches-2.6.30/140-arch_cflags.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/ubicom32/patches-2.6.30/140-arch_cflags.patch (limited to 'target/linux/ubicom32/patches-2.6.30/140-arch_cflags.patch') diff --git a/target/linux/ubicom32/patches-2.6.30/140-arch_cflags.patch b/target/linux/ubicom32/patches-2.6.30/140-arch_cflags.patch new file mode 100644 index 000000000..aa1396e41 --- /dev/null +++ b/target/linux/ubicom32/patches-2.6.30/140-arch_cflags.patch @@ -0,0 +1,13 @@ +--- a/arch/ubicom32/Makefile ++++ b/arch/ubicom32/Makefile +@@ -54,8 +54,8 @@ CFLAGS_MODULE += -mno-fastcall + # + # Some CFLAG additions based on specific CPU type. + # +-cflags-$(CONFIG_UBICOM32_V3) := -march=ubicom32v3 -DIP5000 +-cflags-$(CONFIG_UBICOM32_V4) := -march=ubicom32v4 -DIP7000 ++cflags-$(CONFIG_UBICOM32_V3) := -march=ubicom32v3 -mno-fdpic -DIP5000 ++cflags-$(CONFIG_UBICOM32_V4) := -march=ubicom32v4 -mno-fdpic -DIP7000 + + ldflags-$(CONFIG_LINKER_RELAXATION) := --relax + LDFLAGS_vmlinux := $(ldflags-y) -- cgit v1.2.3