aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.ibm.com>2019-09-17 13:49:03 -0300
committerRam Pai <linuxram@us.ibm.com>2020-11-02 17:50:53 -0500
commit01d95d85fd56ca135e02e0b6d09d45b2c3e9497e (patch)
tree91b54e56afdeb83164086e34a7bbc62b6438a739
parent3658ec27fd6509a1055af3286f40a2cbf331579b (diff)
downloadskiboot-01d95d85fd56ca135e02e0b6d09d45b2c3e9497e.zip
skiboot-01d95d85fd56ca135e02e0b6d09d45b2c3e9497e.tar.gz
skiboot-01d95d85fd56ca135e02e0b6d09d45b2c3e9497e.tar.bz2
Makefile.main: Remove -Werror on behalf of GCC 9
GCC 9 adds the -Werror=address-of-packed-member feature. We are getting this error when compiling the hw/sbe-p9.c. This removes "-Werror" from the CFLAGS as a workaround. Please do not post this patch upstream. Signed-off-by: Ram Pai <linuxram@us.ibm.com> [removed WIP tag in the subject line] Signed-off-by: Claudio Carvalho <cclaudio@linux.ibm.com>
-rw-r--r--Makefile.main1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.main b/Makefile.main
index cb65cbc..e177705 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 \
- -Werror
# Host tools and options
HOSTCC=gcc