[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
rpmbuild: unset CFLAGS & CXXFLAGS ?
- From: "Debarshi 'Rishi' Ray" <debarshi ray gmail com>
- To: "Fedora Project developers' list" <fedora-devel-list redhat com>
- Subject: rpmbuild: unset CFLAGS & CXXFLAGS ?
- Date: Fri, 9 Nov 2007 22:47:51 +0530
Right now I was trying to build the proxyknife package (review:
https://bugzilla.redhat.com/show_bug.cgi?id=322091) and found that
while Koji builds it successfully
(http://koji.fedoraproject.org/koji/taskinfo?taskID=231772), I could
not use rpmbuild to build it locally. It would fail in the middle of
the %build stanza.
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?
Thanks,
Debarshi
--
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]