Ingo Weinhold 724f4e2d38 Fix kernel -Werror support
The introduction of secondary arch support for kernel files disabled
-Werror for all kernel files, since the -Werror flags were moved from
{CC,C++}FLAGS to TARGET_WARNING_{CC,C++}FLAGS_<arch>, which, however,
was overwritten by the SetupKernel rule. This commit introduces new
global variables {HAIKU,HOST,TARGET}_WERROR_FLAGS[_<arch>], which
contain the additional -Werror flags to be applied for the architecture.
The config variable WARNINGS can be set to "treatAsErrors" to cause
-Werror and {HOST,TARGET}_WERROR_FLAGS[_<arch>] to be appended to the
compilation flags.

Fixes #10280.
2013-12-05 12:48:22 +01:00
..
2013-12-05 12:48:22 +01:00
2013-08-01 08:54:06 +02:00
2013-08-01 08:54:06 +02:00
2013-11-15 18:39:07 +01:00
2013-12-05 12:48:22 +01:00
2013-11-15 00:34:01 +01:00
2013-08-10 15:06:55 +02:00
2013-08-01 08:54:06 +02:00
2013-09-18 15:41:12 +02:00
2013-08-01 08:54:06 +02:00
2013-12-05 12:48:22 +01:00
2013-10-05 22:49:48 +02:00
2013-12-05 12:48:22 +01:00