Bug 2233093 - redhat-rpm-config: improve --target noarch, --target x86_64_v* compatibility
Summary: redhat-rpm-config: improve --target noarch, --target x86_64_v* compatibility
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL: https://kojipkgs.fedoraproject.org//w...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-21 12:24 UTC by Florian Weimer
Modified: 2023-08-29 09:47 UTC (History)
20 users (show)

Fixed In Version: redhat-rpm-config-265-1.fc40
Clone Of: 2231727
Environment:
Last Closed: 2023-08-29 09:47:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure koji issue 3880 0 None None None 2023-08-21 12:24:12 UTC

Description Florian Weimer 2023-08-21 12:24:12 UTC
Continuation of bug 2231727.

We should define more %optflags variants in such a way that users can override the distribution default using mock --target.

Comment 1 Panu Matilainen 2023-08-21 12:44:14 UTC
To be exact, %optflags should be defined for the (sub)architectures that rpm can detect, and the new ones to add are x86_64_v2, x86_64_v3 and x86_64_v4. Builds will continue to default to vanilla x86_64.


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