diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-06-18 16:09:44 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-06-19 09:54:46 +1000 |
commit | b904cb733750de1bb0e04e5012c391a9c3094d11 (patch) | |
tree | a5b73b639ffb01aa492daa5702b1cda56f405e5b | |
parent | ba977f2e4406f9de318afcdf5d666e77585ef269 (diff) | |
download | skiboot-b904cb733750de1bb0e04e5012c391a9c3094d11.zip skiboot-b904cb733750de1bb0e04e5012c391a9c3094d11.tar.gz skiboot-b904cb733750de1bb0e04e5012c391a9c3094d11.tar.bz2 |
Disable -Waddress-of-packed-member for GCC9
We throw a bunch of errors in errorlog code otherwise, which we should
fix, but we don't *have* to yet.
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r-- | Makefile.main | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.main b/Makefile.main index 1937878..fac6e44 100644 --- a/Makefile.main +++ b/Makefile.main @@ -125,7 +125,8 @@ endif CFLAGS += $(call try-cflag,$(CC),-Wjump-misses-init) \ $(call try-cflag,$(CC),-Wsuggest-attribute=const) \ $(call try-cflag,$(CC),-Wsuggest-attribute=noreturn) \ - $(call try-cflag,$(CC),-Wstack-usage=1024) + $(call try-cflag,$(CC),-Wstack-usage=1024) \ + $(call try-cflag,$(CC),-Wno-error=address-of-packed-member) CFLAGS += $(CWARNS) $(OPTS) $(DBG) |