How to add custom rpm-defines to rpmbuild while building in Koji?

Peter Lemenkov lemenkov at gmail.com
Tue Jul 7 09:25:11 UTC 2009


2009/7/7 Erik van Pienbroek <erik at vanpienbroek.nl>:
> Op dinsdag 07-07-2009 om 13:02 uur [tijdzone +0400], schreef Peter
> Lemenkov:
>> Hello All!
>> In order to build cross-toolchain I need to pass additional --define
>> "binutils_target <name of my target>" to rpmbuild command-line. See
>> this spec, for example:
>>
>> http://cvs.fedoraproject.org/viewvc/rpms/spu-binutils/devel/spu-binutils.spec?revision=1.10&view=markup
>>
>> How can I do it?
>
> Hi,
>
> In the .spec file you referred to the binutils_target is already set
> (first line: %define binutils_target spu).

Oh, I didn't noticed it.


-- 
With best regards!




More information about the devel mailing list