Commit:     1c668d82465cd5c17030c0f69561841374380ac8
Parent:     066954a3891d32198edad3b319792d8db6a6a575
Author:     Mike Frysinger <[EMAIL PROTECTED]>
AuthorDate: Sun Oct 21 22:55:18 2007 +0800
Committer:  Bryan Wu <[EMAIL PROTECTED]>
CommitDate: Sun Oct 21 22:55:18 2007 +0800

    Blackfin arch: -mno-fdpic works
    now that -mno-fdpic works, force it on so that
    we can use any blackfin toolchain to build up the
    kernel and kernel modules
    wrap -mno-fdpic in $(call cc-option,-mno-fdpic) so that older
    toolchains will still work
    Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
    Signed-off-by: Bryan Wu <[EMAIL PROTECTED]>
 arch/blackfin/Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile
index d80421c..4a208f3 100644
--- a/arch/blackfin/Makefile
+++ b/arch/blackfin/Makefile
@@ -12,6 +12,8 @@ LDFLAGS_vmlinux  := -X
 OBJCOPYFLAGS     := -O binary -R .note -R .comment -S
 GZFLAGS          := -9
+CFLAGS           += $(call cc-option,-mno-fdpic)
+AFLAGS           += $(call cc-option,-mno-fdpic)
 CFLAGS_MODULE    += -mlong-calls
 KALLSYMS         += --symbol-prefix=_
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to