[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpmbuild: unset CFLAGS & CXXFLAGS ?
- From: "Joachim Frieben" <jfrieben gmx de>
- To: debarshi ray gmail com, Development discussions related to Fedora <fedora-devel-list redhat com>
- Cc:
- Subject: Re: rpmbuild: unset CFLAGS & CXXFLAGS ?
- Date: Fri, 09 Nov 2007 18:26:03 +0100
> 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]