From ba10ce128c758566347d89f05e835dc7fa923393 Mon Sep 17 00:00:00 2001 From: Oliver O'Halloran Date: Thu, 25 Jul 2019 15:36:38 +1000 Subject: Makefiles: Remove --Wno-stringop-truncation To disable a warning you use the command line parameter: -Wno-, not --Wno- 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 --- Makefile.main | 1 - 1 file changed, 1 deletion(-) (limited to 'Makefile.main') 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 -- cgit v1.1