[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: %configure and RPM_OPT_FLAGS
- From: Elliot Lee <sopwith redhat com>
- To: rhl-devel-list redhat com
- Subject: Re: %configure and RPM_OPT_FLAGS
- Date: Tue, 29 Jul 2003 11:41:44 -0400 (EDT)
On 29 Jul 2003, Harald Hoyer wrote:
> I wanted to modify CXXFLAGS and stumbled across the %configure
> definition...
> CFLAGS="${CFLAGS:-%optflags}"
> CXXFLAGS="${CXXFLAGS:-%optflags}"
> FFLAGS="${FFLAGS:-%optflags}"
>
>
> Wouldn't it be better to have this in /usr/lib/rpm/redhat/macros:
>
> RPM_OPT_FLAGS="%{optflags}"
This part already happens automatically and is unnecessary.
> CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}"
> CXXFLAGS="${CXXFLAGS:-${RPM_OPT_FLAGS}}"
> FFLAGS="${FFLAGS:-${RPM_OPT_FLAGS}}"
>
> so that I can modify RPM_OPT_FLAGS prior to calling %configure??
If it is safe to assume that $RPM_OPT_FLAGS is only ever used in %build,
then please commit the change to redhat-rpm-config in devel CVS, and build
the update into dist-3.0E and dist-10.
-- Elliot
Humpty Dumpty was pushed.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]