summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-10-29 06:00:15 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-10-28 23:02:28 +0100
commit9b63c9bde2fc3b3a2d42e68618e043cf282bc566 (patch)
tree95f4a792149dd1cdb9a3bb0428863145577bae71 /src
parent77896c187cc4f57960418b4e48d4faf3c84b36f0 (diff)
src/Kconfig: Don't treat warns as errors on Clang builds yet
Currently clang/llvm builds are not fully supported. As such, let us tone down treating errors as warnings until we actually build the entire tree. Change-Id: If7f90f9887e27250f5e6d73d1692505676be9d47 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7230 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src')
-rw-r--r--src/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 525513030a..4deed2afda 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -1116,9 +1116,13 @@ config ENABLE_APIC_EXT_ID
bool
default n
+# XXX Currently clang/llvm builds are not fully supported,
+# Let us tone down warns treated as errors until we actually build
+# the whole treee.
config WARNINGS_ARE_ERRORS
bool
- default y
+ default y if !COMPILER_LLVM_CLANG
+ default n if COMPILER_LLVM_CLANG
# The four POWER_BUTTON_DEFAULT_ENABLE, POWER_BUTTON_DEFAULT_DISABLE,
# POWER_BUTTON_FORCE_ENABLE and POWER_BUTTON_FORCE_DISABLE options are