[Rpm-maint] [rpm-software-management/rpm] CMakeLists.txt: Improve checking for CFLAGS (PR #3796)

Robert Yang notifications at github.com
Sun Jun 8 07:40:46 UTC 2025


The previous log wasn't clear:
-- Performing Test found
-- Performing Test found - Success
-- Performing Test found
-- Performing Test found - Success
-- Performing Test found
-- Performing Test found - Failed

Use a new var SUPPORTS_${flag} will make it more clear: -- Performing Test SUPPORTS_-fno-strict-overflow
-- Performing Test SUPPORTS_-fno-strict-overflow - Success -- Performing Test SUPPORTS_-fno-delete-null-pointer-checks -- Performing Test SUPPORTS_-fno-delete-null-pointer-checks - Success -- Performing Test SUPPORTS_-fhardened
-- Performing Test SUPPORTS_-fhardened - Failed
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3796

-- Commit Summary --

  * CMakeLists.txt: Improve checking for CFLAGS

-- File Changes --

    M CMakeLists.txt (5)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3796.patch
https://github.com/rpm-software-management/rpm/pull/3796.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3796
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3796 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250608/7aef06ea/attachment.htm>


More information about the Rpm-maint mailing list