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-05-29 15:48:48 +1000
commit918b7233d3bb7f061030b197fa0df53530f189f6 (patch)
tree6b6161eb29e1514773d35af1740af0d1725efcdf /Makefile.main
parent70d544de8739abbc381398cbfd07a6bd6dc8c1a5 (diff)
downloadskiboot-918b7233d3bb7f061030b197fa0df53530f189f6.zip
skiboot-918b7233d3bb7f061030b197fa0df53530f189f6.tar.gz
skiboot-918b7233d3bb7f061030b197fa0df53530f189f6.tar.bz2
Add -Wno-stringop-truncation for GCC8
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