projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6935d2
)
disable stringop truncation warnings for now
author
Stephen Rothwell
<
[email protected]
>
Thu, 30 Aug 2018 21:47:28 +0000
(07:47 +1000)
committer
Linus Torvalds
<
[email protected]
>
Fri, 31 Aug 2018 01:15:34 +0000
(18:15 -0700)
They are too noisy
Signed-off-by: Stephen Rothwell <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 2b458801ba7418a9897bce84a116105f2f87a18c..a34a9283ee9088c70c80db56bf38fdc7514d83e4 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-807,6
+807,9
@@
KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
# disable pointer signed / unsigned warnings in gcc 4.0
KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign)
+# disable stringop warnings in gcc 8+
+KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation)
+
# disable invalid "can't wrap" optimizations for signed / pointers
KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow)