diff options
-rw-r--r-- | Makefile.main | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.main b/Makefile.main index 096a58d..a8e34d1 100644 --- a/Makefile.main +++ b/Makefile.main @@ -31,7 +31,7 @@ CWARNS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -Wwrite-strings -Wcast-align \ -Winit-self \ -Wframe-larger-than=1024 \ - -Wno-stringop-truncation \ + $(call try-cflag,$(CC),--Wno-stringop-truncation) \ -Werror # Host tools and options |