aboutsummaryrefslogtreecommitdiff
path: root/Makefile.main
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-05-29 15:39:00 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-10-24 19:02:59 +1100
commitb76911b9cadf2757269d86b25576673989b86157 (patch)
tree23e30fdf97b494246486a6489e7d54c95d77252e /Makefile.main
parent88275cf25800acbe9d431d6ee07dfe372d14bada (diff)
downloadskiboot-b76911b9cadf2757269d86b25576673989b86157.zip
skiboot-b76911b9cadf2757269d86b25576673989b86157.tar.gz
skiboot-b76911b9cadf2757269d86b25576673989b86157.tar.bz2
Add -Wno-stringop-truncation for GCC8
[ Upstream commit 918b7233d3bb7f061030b197fa0df53530f189f6 ] This warning appears to not be particularly useful if you ever actually *want* to truncate a string. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r--Makefile.main1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.main b/Makefile.main
index 6e0e4be..a155e1e 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -31,6 +31,7 @@ CWARNS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-Wwrite-strings -Wcast-align \
-Winit-self \
-Wframe-larger-than=1024 \
+ -Wno-stringop-truncation \
-Werror
# Host tools and options