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-07-23 15:00:22 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2017-07-28 23:49:35 +0200
commit69acb2533ab3adc4136b151dc9a286dccf523142 (patch)
tree5ac3048429fe7206b47f279a70c94df93e380a60 /target/linux/brcm2708/patches-4.4/0551-kbuild-add-fno-PIE.patch
parenta5822dbd0f12054d04d1415a98ae995f5438ccd8 (diff)
downloadmtk-20170518-69acb2533ab3adc4136b151dc9a286dccf523142.zip
mtk-20170518-69acb2533ab3adc4136b151dc9a286dccf523142.tar.gz
mtk-20170518-69acb2533ab3adc4136b151dc9a286dccf523142.tar.bz2
kernel: update kernel 4.4 to version 4.4.79
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.patch8
1 files changed, 4 insertions, 4 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 f76490b..5bfbbf6 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
@@ -29,10 +29,10 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--- a/Makefile
+++ b/Makefile
-@@ -619,6 +619,8 @@ include arch/$(SRCARCH)/Makefile
- KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,)
- KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,)
- KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
+@@ -622,6 +622,8 @@ KBUILD_CFLAGS += $(call cc-disable-warni
+ KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation)
+ KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
+ KBUILD_CFLAGS += $(call cc-disable-warning, int-in-bool-context)
+KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
+KBUILD_AFLAGS += $(call cc-option,-fno-PIE)