Re: [OS-BUILD PATCHv6 0/4] makefile: Add -Werror support for RHEL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Prarit Bhargava on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2240#note_1241279528

I have tested this change by doing 'make V=1' for setting ENABLE_WERROR=1,
ENABLE_WERROR=(nothing) in Makefile variables, and looking at the gcc
output for an in-kernel file, as well as compiling an out-of-tree
module.  In those cases I verified that

ENABLE_ERROR=1 out-of-tree module results in no -Werror flag
ENABLE_ERROR=(empty) out-of-tree module results in no -Werror flag
ENABLE_ERROR=1 in kernel tree file results in a -Werror flag
ENABLE_ERROR=(empty) in kernel tree file results in no -Werror flag

as expected.

@hertonrk-rh, it turns out that I didn't need to do the -Wno-error hack.
Simply removing the flag this way works very well.

@jmflinuxtx, please re-review.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux