projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08d90c8
)
MIPS: zboot: Consolidate compiler flag filtering.
author
Ralf Baechle
<ralf@linux-mips.org>
Mon, 26 Dec 2016 18:57:52 +0000
(19:57 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 3 Jan 2017 15:48:40 +0000
(16:48 +0100)
Al Viro noticed that we were using two different methods to filter out
flags from KBUILD_CFLAGS.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
arch/mips/boot/compressed/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/boot/compressed/Makefile
b/arch/mips/boot/compressed/Makefile
index 41564a4db6f726177185fea4921b8370cf9e64e6..c675eece389a41c036c4ff2e1aeaf89509368a1f 100644
(file)
--- a/
arch/mips/boot/compressed/Makefile
+++ b/
arch/mips/boot/compressed/Makefile
@@
-18,7
+18,7
@@
include $(srctree)/arch/mips/Kbuild.platforms
BOOT_HEAP_SIZE := 0x400000
# Disable Function Tracer
-KBUILD_CFLAGS := $(
shell echo $(KBUILD_CFLAGS) | sed -e "s/-pg//"
)
+KBUILD_CFLAGS := $(
filter-out -pg, $(KBUILD_CFLAGS)
)
KBUILD_CFLAGS := $(filter-out -fstack-protector, $(KBUILD_CFLAGS))