Patrick Williams | 2b4464b | 2015-08-04 11:28:49 -0500 | [diff] [blame] | 1 | From 3600e0e9bf8bb45039ba32df45994c28bb6419cc Mon Sep 17 00:00:00 2001 |
| 2 | From: Patrick Williams <iawillia@us.ibm.com> |
| 3 | Date: Tue, 4 Aug 2015 11:27:09 -0500 |
| 4 | Subject: [PATCH] Fix compile failures on RHEL6. |
| 5 | |
| 6 | --- |
| 7 | Makefile.main | 6 ++---- |
| 8 | 1 file changed, 2 insertions(+), 4 deletions(-) |
| 9 | |
| 10 | diff --git a/Makefile.main b/Makefile.main |
| 11 | index 3851c20..1f2b673 100644 |
| 12 | --- a/Makefile.main |
| 13 | +++ b/Makefile.main |
| 14 | @@ -19,11 +19,9 @@ CWARNS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ |
| 15 | -Werror-implicit-function-declaration -Wdeclaration-after-statement \ |
| 16 | -Wno-pointer-sign -Wextra -Wno-sign-compare \ |
| 17 | -Wmissing-prototypes -Wmissing-declarations \ |
| 18 | - -Wwrite-strings -Wcast-align -Wjump-misses-init \ |
| 19 | + -Wwrite-strings -Wcast-align \ |
| 20 | -Winit-self \ |
| 21 | - -Wsuggest-attribute=const \ |
| 22 | - -Wsuggest-attribute=noreturn \ |
| 23 | - -Wframe-larger-than=1024 -Wstack-usage=1024 \ |
| 24 | + -Wframe-larger-than=1024 \ |
| 25 | -Werror -Wno-error=format |
| 26 | |
| 27 | # Host tools and options |
| 28 | -- |
| 29 | 2.4.4 |
| 30 | |