Replies: 3 comments 7 replies
|
The Check the definition: You should be able to set |
|
Perhaps it's a bit of an edge case - could be just with rhel/centos - where setting those, notice ! doubled For @devel - perhaps if not now as a fix then as an enhancement in future release, |
|
The other option is to define it in Mock configuration file. You can set this option: You can store the variable in any configuration file as described at the bottom of https://rpm-software-management.github.io/mock/configuration |
Uh oh!
There was an error while loading. Please reload this page.
Hi guys.
Would you know if
mockcan have it set somewhere - beside .spec for a given rpm - so it would be user/env-wide, every timemockruns?I have
%optflagsin my .rpmrc but thatmockpays no attention to. At the same time--macro-file&--defineseem to have no effect - whatever system/os-wide macros say%optflagsis, remains - but that also seem to be the case for system'srpmbuild(only .rpmrc overrides it).I'm on Centos 9 with 6.4 version.
many thanks, L.
All reactions