On Mon, Oct 21, 2013 at 3:08 PM, Michael Schwendt <mschwendt@xxxxxxxxx> wrote: > On Mon, 21 Oct 2013 04:01:15 +0200, Kevin Kofler wrote: >> >> We already have one, it's called %{__global_ldflags}. You are indeed >> supposed to set LDFLAGS of handwritten makefiles to that. The guidelines >> need to be updated. > > Also raises the question whether we want more such packages to do [...] In many cases the values aren't picked up from the environment but need to be passed in by other means (such as arguments to make etc). Anyway for the ones that do get them from the environment, I wonder if there's a macro whose content gets run at start of %build (%__spec_build_pre ?), or if the %build section marker could be overloaded to do the environment setup so it could be moved there from %configure -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct