projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d03bd0
)
arch: arm64: force -fno-pic
author
Greg Hackmann
<ghackmann@google.com>
Tue, 2 Dec 2014 00:13:30 +0000
(16:13 -0800)
committer
Greg Hackmann
<ghackmann@google.com>
Tue, 2 Dec 2014 00:30:58 +0000
(16:30 -0800)
The aarch64-linux-android- toolchain enables -fpic by default. -fpic
isn't needed for the kernel and breaks CONFIG_JUMP_LABEL, so turn it
off.
Change-Id: I685da1dc60e4cf1e9abcfb56e03654675ac02a0c
Signed-off-by: Greg Hackmann <ghackmann@google.com>
arch/arm64/Makefile
patch
|
blob
|
history
diff --git
a/arch/arm64/Makefile
b/arch/arm64/Makefile
index fb8c8f0fbf4f8bb2f93871eec86e64826f63aa05..2b27721f5a71abe0674fc550b082e9797757f3f8 100644
(file)
--- a/
arch/arm64/Makefile
+++ b/
arch/arm64/Makefile
@@
-20,6
+20,7
@@
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
KBUILD_DEFCONFIG := defconfig
KBUILD_CFLAGS += -mgeneral-regs-only
+KBUILD_CFLAGS += -fno-pic
KBUILD_CPPFLAGS += -mlittle-endian
AS += -EL
LD += -EL