diff options
author | Paul Menzel <pmenzel@molgen.mpg.de> | 2021-02-15 22:05:31 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-18 10:12:57 +0000 |
commit | 54d500788cbb724f83478cc57ce538baad066955 (patch) | |
tree | fc92c1ab5272a526019e2f2e3658bcac32e67975 /src/superio/smsc/sio10n268 | |
parent | 0a20872de0b0de6354fa3164c998619b3218dd9f (diff) |
Makefile: Do not use GCC specific options with LLVM/clang
Building with LLVM/clang (`COMPILER_LLVM_CLANG=y`), Debian clang version
11.0.1-2 fails due to unknown warning options.
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wduplicated-cond' [-Werror,-Wunknown-warning-option]
As these are GCC specific, only add them, when building with GCC (and
not scan-build).
Fixes: 04e0712f46 ("Treewide: Add some gcc's warning options")
Change-Id: I6190c1f3df97fb0be51f8dab7e1f5f2a033f5d86
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50771
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/superio/smsc/sio10n268')
0 files changed, 0 insertions, 0 deletions