Bug 2161343 - tetrinetx: Use %_fortify_level instead of twiddling with optflags
Summary: tetrinetx: Use %_fortify_level instead of twiddling with optflags
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: tetrinetx
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Basto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2158232
TreeView+ depends on / blocked
 
Reported: 2023-01-16 16:35 UTC by Siddhesh Poyarekar
Modified: 2023-01-31 19:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-31 19:56:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Siddhesh Poyarekar 2023-01-16 16:35:09 UTC
Description of problem:
There is now a canonical way to disable fortification, see "Fortification level" in the build flags guide:

https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md#source-fortification

This way, one doesn't need to mess with RPM_OPT_FLAGS anymore to do this. The current sed approach will also not work since the flag has now changed to -Wp,-D_FORTIFY_SOURCE=3.

Comment 1 Sergio Basto 2023-01-30 23:36:28 UTC
please , can you send one pull request to tetrinetx package ? 

thank you

Comment 2 Siddhesh Poyarekar 2023-01-31 19:56:53 UTC
You already merged it :)

https://src.fedoraproject.org/rpms/tetrinetx/pull-request/1


Note You need to log in before you can comment on or make changes to this bug.