I actually just got some help in #fedora-devel, thanks for the idea though. I've patched the configure script and works, i will push the update and then start working on my other packages. -Adam On Tue, Apr 21, 2009 at 11:15 AM, Jerry James <loganjerry@xxxxxxxxx> wrote: > On Tue, Apr 21, 2009 at 9:56 AM, Adam Miller <maxamillion@xxxxxxxxx> wrote: >> How do I go about forcing those CFLAGS to be used? I was under the >> impression that if they are specified then they are used, the makefile >> appears to me that it supports the CFLAGS correctly, but I could be >> wrong. >> >> -Adam > > The problem is configure.in, which blows away anything you specified > and rebuilds a set of CFLAGS from scratch. Try this in your %prep > section: > > sed -i -e "s/CFLAGS=\"-Wall\"/CFLAGS=\"${RPM_OPT_FLAGS}\"/" configure > -- > Jerry James > http://loganjerry.googlepages.com/ > > -- > fedora-devel-list mailing list > fedora-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/fedora-devel-list > -- http://maxamillion.googlepages.com --------------------------------------------------------- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list