I don't know the build system for this program (and this is a generic bug template so I cannot tell you which program exactly is), but my tests shows that it's not respecting CFLAGS properly. Please look into it, since it's important to respect user CFLAGS. Thanks, Diego
Daniel, Please accept this patch. %% cvs diff logrotate-3.7.2.ebuild Index: logrotate-3.7.2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.7.2.ebuild,v retrieving revision 1.16 diff -u -r1.16 logrotate-3.7.2.ebuild --- logrotate-3.7.2.ebuild 15 Dec 2008 17:30:51 -0000 1.16 +++ logrotate-3.7.2.ebuild 18 Dec 2008 03:07:00 -0000 @@ -30,6 +30,7 @@ sed -i \ -e "s:CFLAGS += -g:CFLAGS += -g ${CFLAGS}:" \ + -e "s:LDFLAGS = -g:LDFLAGS += -g ${LDFLAGS}:" \ -e "/CVSROOT =/d" \ Makefile || die "sed failed" } TIA.
In 3.7.8, both CFLAGS and LDFLAGS are honored.