diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2020-06-12 12:24:51 +1000 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2020-06-17 21:18:45 +1000 |
commit | 0dbbe6105acfaf2e2e4a87f31a9d390a204a7be9 (patch) | |
tree | 35b223dc10972c7abe6a2aebb635a5fbb8ae8641 /Makefile.main | |
parent | b495861060630e0d4ec2c0ede788281b9dd52047 (diff) | |
download | skiboot-0dbbe6105acfaf2e2e4a87f31a9d390a204a7be9.zip skiboot-0dbbe6105acfaf2e2e4a87f31a9d390a204a7be9.tar.gz skiboot-0dbbe6105acfaf2e2e4a87f31a9d390a204a7be9.tar.bz2 |
makefile: Supress Werror on clang
We get a lot more warnings from clang so disable Werror for now so it
fails to compile elsewhere.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r-- | Makefile.main | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.main b/Makefile.main index ec69b2d..c429bf1 100644 --- a/Makefile.main +++ b/Makefile.main @@ -43,6 +43,11 @@ CWARNS += -Werror endif endif +# clang tends to emit more warnings so stop those breaking the build for now +ifeq ($(cc-name),clang) +CWARNS += -Wno-error +endif + # Host tools and options HOSTCC=gcc HOSTEND=$(shell uname -m | sed -e 's/^i.*86$$/LITTLE/' -e 's/^x86.*/LITTLE/' -e 's/^ppc64le/LITTLE/' -e 's/^ppc.*/BIG/') |