summaryrefslogtreecommitdiff
path: root/target/linux/brcm2708/patches-4.4/0551-kbuild-add-fno-PIE.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-04-02 11:53:42 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2017-04-02 14:37:49 +0200
commit0dcc4d239da78bc20b091d50c097c386e0e61902 (patch)
tree47a71ebb1271cb26429c20e34dcad1f8e3d5e945 /target/linux/brcm2708/patches-4.4/0551-kbuild-add-fno-PIE.patch
parent1adc6db0362d2fdede68a3f1f3a5f119ca39d30a (diff)
downloadmtk-20170518-0dcc4d239da78bc20b091d50c097c386e0e61902.zip
mtk-20170518-0dcc4d239da78bc20b091d50c097c386e0e61902.tar.gz
mtk-20170518-0dcc4d239da78bc20b091d50c097c386e0e61902.tar.bz2
kernel: update kernel 4.4 to 4.4.59
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0551-kbuild-add-fno-PIE.patch')
-rw-r--r--target/linux/brcm2708/patches-4.4/0551-kbuild-add-fno-PIE.patch7
1 files changed, 1 insertions, 6 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0551-kbuild-add-fno-PIE.patch b/target/linux/brcm2708/patches-4.4/0551-kbuild-add-fno-PIE.patch
index 0d2c1a5..f76490b 100644
--- a/target/linux/brcm2708/patches-4.4/0551-kbuild-add-fno-PIE.patch
+++ b/target/linux/brcm2708/patches-4.4/0551-kbuild-add-fno-PIE.patch
@@ -27,8 +27,6 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Makefile | 2 ++
1 file changed, 2 insertions(+)
-diff --git a/Makefile b/Makefile
-index 1099371..c17219e 100644
--- a/Makefile
+++ b/Makefile
@@ -619,6 +619,8 @@ include arch/$(SRCARCH)/Makefile
@@ -39,7 +37,4 @@ index 1099371..c17219e 100644
+KBUILD_AFLAGS += $(call cc-option,-fno-PIE)
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
- KBUILD_CFLAGS += -Os
---
-2.1.4
-
+ KBUILD_CFLAGS += -Os $(EXTRA_OPTIMIZATION)