[Rpm-maint] [rpm-software-management/rpm] Come up with replace_optflags (#814). (#815)

Panu Matilainen notifications at github.com
Wed Aug 14 10:06:55 UTC 2019


I'm really reluctant to add one-trick-pony utility macros like this because over time they tend to become liabilities one way or the other, and have other issues.

Manipulating compiler flags is a very common need indeed and could use some help from rpm, but that need is not limited to %optflags, there are various other similar things as well and I certainly don't want separate macros for updating %build_cflags, %build_cxxflags, %build_ldflags and so on.

I'd be more inclined to consider a generic utility or macro primitive.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/815#issuecomment-521185533
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190814/cb64790a/attachment-0001.html>


More information about the Rpm-maint mailing list