summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLuc Van Oostenryck2019-03-04 13:55:20 +0100
committerMasahiro Yamada2019-03-04 14:39:20 +0100
commitb89f25ea78920680199b79f80d296c89997deb9d (patch)
tree6cc8b64584fe097c05da5a77de7fadbc9c009d75 /Makefile
parentkbuild: clean up scripts/gcc-version.sh (diff)
downloadkernel-qcow2-linux-b89f25ea78920680199b79f80d296c89997deb9d.tar.gz
kernel-qcow2-linux-b89f25ea78920680199b79f80d296c89997deb9d.tar.xz
kernel-qcow2-linux-b89f25ea78920680199b79f80d296c89997deb9d.zip
kbuild: use -Werror=implicit-... instead of -Werror-implicit-...
The flag '-Werror-implicit-function-declaration', present in GCC 2.95, stopped to be documented in GCC 4.3, replaced by the more generic '-Werror=...' form. So, use the equivalent '-Werror=implicit-function-declaration' instead. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d04447ac764..ade87096341c 100644
--- a/Makefile
+++ b/Makefile
@@ -430,7 +430,7 @@ LINUXINCLUDE := \
KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE
KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \
- -Werror-implicit-function-declaration -Werror=implicit-int \
+ -Werror=implicit-function-declaration -Werror=implicit-int \
-Wno-format-security \
-std=gnu89
KBUILD_CPPFLAGS := -D__KERNEL__