Wouldn't be nicer if glibc ebuild used replace-flags instead of manually tempering with CFLAGS?
Created attachment 32009 [details, diff] ebuild patch
Created attachment 32128 [details, diff] CFLAGS + LDFLAGS filtering Also could use our filter-ldflags function.
A good point, IMHO.
We are trying to avoid calling functions in the global scope as it kills the portage cache. Can somebody here try this in the src_compile() of glibc and attach a patch. (thanks)
i did this already a while back