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

Re: rpmbuild: unset CFLAGS & CXXFLAGS ?



> 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


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