From: Prarit Bhargava on
gitlab.com
Merge Request:
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2240
The -Werror flag should be enabled for RHEL. In ARK, however, it is a bit
tricky to enable -Werror as a build bug occasionally leaks through
upstream review and into Linus' tree, and the toolchain is rebased which
causes many new errors to be reported. As a consequence, -Werror cannot
be enabled in ARK but the code to enable it for RHEL can be added to the
top-level makefile.
Additional fixes: Alphabetize Makefile.variables (something I've wanted to
do for a while now) and remove a mention of Makefile.rhkpg.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
---
redhat/configs/build_configs.sh | 5 +
redhat/Makefile.variables | 184 ++++++++++++++++++++-------------------
Makefile | 10 +-
makefile | 13 ++
4 files changed, 117 insertions(+), 95 deletions(-)