cflags for building from src.rpm
Michal Zeravik
michalz at olomouc.com
Mon Mar 8 12:19:00 UTC 2004
Yes, I've done this, but what can I put to macros for
%_arch ?
It works when I set __global_cflags on last /usr/lib/rpm/redhat/macros
to $CFLAGS.
michal
Alexander Dalloz wrote:
>Am Mo, den 08.03.2004 schrieb Michal Zeravik um 12:43:
>
>
>>Hi,
>>
>>how can I set custom cflags for rebuilding src.rpm?
>>/usr/lib/rpm/rpmrc neither CFLAGS seems to not affecting cflags when I
>>use --target=athlon.
>>
>>
>>Michal
>>
>>
>
>Edit /usr/lib/rpm/athlon-linux/macros with i.e.:
>
>%optflags -O3 -g -pipe -fno-exceptions -funroll-loops
>-fomit-frame-pointer -fno-strict-aliasing -fno-common
>
>or what you like as CFLAGS.
>
>Alexander
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040308/a138389e/attachment-0001.htm>
More information about the fedora-list
mailing list