1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-13 16:22:50 +02:00
openwrt-xburst/target/linux/ubicom32/patches-2.6.30/140-arch_cflags.patch
nbd a74b524343 ubicom32: add a 2.6.30 patch contributed by ubicom, with my cleanups and fixes split out into separate patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-17 16:21:13 +00:00

14 lines
517 B
Diff

--- 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)