aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2019-07-25 15:36:38 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-07-26 15:31:41 +1000
commitba10ce128c758566347d89f05e835dc7fa923393 (patch)
tree6055f8b55f2893342107c554c09bc18636c92502
parent85b94f12c420646dfc5ab8e9a987d10054bea592 (diff)
downloadskiboot-ba10ce128c758566347d89f05e835dc7fa923393.zip
skiboot-ba10ce128c758566347d89f05e835dc7fa923393.tar.gz
skiboot-ba10ce128c758566347d89f05e835dc7fa923393.tar.bz2
Makefiles: Remove --Wno-stringop-truncation
To disable a warning you use the command line parameter: -Wno-<warning-name>, not --Wno-<warning-name> GCC seems to ignore parameters starting with a double dash, so we've been building with the stringop-trunction warning enabled for about a year now and no one has complained. Away it goes. Fixes: cd2b103f2488 ("Makefile: Check -Wno-stringop-truncation is supported") Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
-rw-r--r--Makefile.main1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.main b/Makefile.main
index 0e338d5..cb65cbc 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -32,7 +32,6 @@ CWARNS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-Wmissing-prototypes -Wmissing-declarations \
-Wwrite-strings -Wcast-align \
-Winit-self \
- $(call try-cflag,$(CC),--Wno-stringop-truncation) \
-Werror
# Host tools and options