On Fri, 2007-11-09 at 23:09 +0530, Debarshi 'Rishi' Ray wrote: > However it still bothers me that rpmbuild takes the environment's > CFLAGS and CXXFLAGS instead of forcing its own. Since Koji normally > uses: > CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions ... > CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions .. > FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions ... > would it not be better if rpmbuild used the same values and ignored > the user's environment? No idea what you are talking about, rpmbuild sets them, and it's rpmbuild which sets them inside of build systems. May-be you don't have redhat-rpm-config installed? > If a package, indeed, needed some custom value for CFLAGS, CXXFLAGS > and FFLAGS, Packages are not supposed to override these flags, they are supposed to use them. Ralf -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list