Re: rpmbuild: unset CFLAGS & CXXFLAGS ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The trick to solve this was to:
> $ unset CFLAGS
> $ CXXFLAGS
> ...since I usually set them as:
> export CFLAGS=-I/home/rishi/include
> export CXXFLAGS=-I/home/rishi/include
> 
> So would it be a good idea to unset these two variables by default,
> the way we unset DISPLAY, at the beginning of the rpmbuild process?

I suppose that setting the appropriate environment variable CPPFLAGS instead of abusing C[XX]FLAGS for this purpose would have been sufficient to avoid your problems.
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux