aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-06-09 10:23:03 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-06-09 10:23:03 -0700
commit53207293ba96552f67028ce54b74b4cc73c6d87a (patch)
treea7999f0616e1a0f2320668dde4ac60b1a0828c25 /arch/sh/Makefile
parentdfa7e20cc0d1a7a620def4dce97de1ae5375f99b (diff)
parente50901338b23cc173f464ff8e0179c4354d16877 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.26
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.26: sh: Add -mno-fdpic to default flags. sh: add resource of USB host for SH7723 usb: r8a66597-hcd: Add support for SH7723 USB host sh: Fix compile error SH7763 setup code sh: Add SH7723 SCIF support
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r--arch/sh/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 8050b03d51f..fb7b1b15e39 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -41,6 +41,8 @@ cflags-$(CONFIG_CPU_SH5) := $(call cc-option,-m5-32media-nofpu,)
cflags-$(CONFIG_CPU_BIG_ENDIAN) += -mb
cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml
+cflags-y += $(call cc-option,-mno-fdpic)
+
#
# -Wa,-isa= tuning implies -Wa,-dsp for the versions of binutils that
# support it, while -Wa,-dsp by itself limits the range of usable opcodes