ohnobinki@binkidesky /tmp $ cat /usr/lib/pkgconfig/tre.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: TRE Description: TRE regexp matching library Version: 0.8.0 Libs: -L${libdir} -ltre -Wl,-O1 -Wl,--as-needed Cflags: -I${includedir} ohnobinki@binkidesky /tmp $ portageq envvar LDFLAGS -Wl,-O1 -Wl,--as-needed Thus when apps build against libtre and use TRE_LIBS=$(pkg-config --libs tre), they inherit the LDFLAGS which tre was built with. This prevents that tre-using-app's LDFLAGS from being controlled properly by the user.
+ 13 Jun 2011; Justin Lecher <jlec@gentoo.org> +files/0.8.0-pkgcfg.patch, + tre-0.8.0.ebuild: + Do not include LDFLAGS in pkgconfig file, #369945 +