summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennox Wu <lennox.wu@gmail.com>2013-09-14 14:41:22 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-17 15:58:04 -0700
commita2f37ebbc94130e1299287e8601c0d27cf59cee5 (patch)
tree664aaf332cb1a2ca0933d7ab39cf86ed7ccf1438
parent6476e2a245db7e9821173f22d423bca6312016cd (diff)
Score: Modify the Makefile of Score, remove -mlong-calls for compiling
commit df9e4d1c39c472cb44d81ab2ed2db503fc486e3b upstream. Signed-off-by: Lennox Wu <lennox.wu@gmail.com> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/score/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/score/Makefile b/arch/score/Makefile
index 974aefe86123..9e3e060290e0 100644
--- a/arch/score/Makefile
+++ b/arch/score/Makefile
@@ -20,8 +20,8 @@ cflags-y += -G0 -pipe -mel -mnhwloop -D__SCOREEL__ \
#
KBUILD_AFLAGS += $(cflags-y)
KBUILD_CFLAGS += $(cflags-y)
-KBUILD_AFLAGS_MODULE += -mlong-calls
-KBUILD_CFLAGS_MODULE += -mlong-calls
+KBUILD_AFLAGS_MODULE +=
+KBUILD_CFLAGS_MODULE +=
LDFLAGS += --oformat elf32-littlescore
LDFLAGS_vmlinux += -G0 -static -nostdlib