On Thu 05 Jun 2014 22:53:32 Matt Caswell via RT wrote: > On Sun Apr 27 13:04:20 2014, vap...@gentoo.org wrote: > > It's a standard setting that other build systems use. > > Can you explain why you need this?
because people want to set custom linker flags. `man ld` shows quite a large number that can easily be applied such as extra hardening or optimization. > > @@ -217,6 +217,7 @@ BUILDENV= PLATFORM='$(PLATFORM)' > > PROCESSOR='$(PROCESSOR)' \ > > MAKEDEPEND='$$$${TOP}/util/domd $$$${TOP} -MD $(MAKEDEPPROG)' \ > > DEPFLAG='-DOPENSSL_NO_DEPRECATED $(DEPFLAG)' \ > > MAKEDEPPROG='$(MAKEDEPPROG)' \ > > + LDFLAGS='${LDFLAGS}' \ > > I'm wondering whether it would be better to remove LDFLAGS from CLEARENV (a > few lines before the above), rather than add it to BUILDENV? Thoughts? Or > am I missing something? maybe. i find it really hard to understand what the Makefiles are going for in general, so i don't try to start at them too hard. -mike
signature.asc
Description: This is a digitally signed message part.