rpmbuild: unset CFLAGS & CXXFLAGS ?

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Fri Nov 9 18:26:53 UTC 2007


> No idea what you are talking about, rpmbuild sets them, and it's
> rpmbuild which sets them inside of build systems.

Set those variables to something else (export CFLAGS=....) and then
run rpmbuild. rpmbuild will not override your settings.

> May-be you don't have redhat-rpm-config installed?

$ rpm -q redhat-rpm-config
redhat-rpm-config-9.0.1-1.fc8

-- 
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu




More information about the fedora-devel-list mailing list