RFC: RPM build flags

Dennis Gilmore dennis at ausil.us
Mon Feb 16 20:59:47 UTC 2009


On Monday 16 February 2009 12:42:33 pm Jon Masters wrote:
> Folks,
>
> In the meeting on #fedora-meeting just now I discovered the i586 arch
> changes weren't specific just to kernel but that the entire 32-bit
> userspace is being switched to i586 instead of i386 as a default. Most
> of that is koji (it makes builds for i586 instead of i386) but there was
> a request to look at flags.
>
> Currently, we build i386 packages with the following:
>
> optflags: i386 %{__global_cflags} -m32 -march=i386
> -mtune=generic -fasynchronous-unwind-tables
>
> And we build i586 packages with the following:
>
> optflags: i586 %{__global_cflags} -m32 -march=i586
> -fasynchronous-unwind-tables
>
> So the proposal is to change i586 to be in line with i386:
>
> optflags: i586 %{__global_cflags} -m32 -march=i586
> -mtune=generic -fasynchronous-unwind-tables
>
> While we're at it, didn't spot and/or someone else want to tweak sparc
> build flags too? Now would be a good time to let us know :)
>
> Jon.
the attached patch is what i intend to apply.  Im still checking for s390 if 
we should set anything different there.  but im expecting the answer is no.

Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: redhat-rpm-config-9.0.3-F-11-Architectures.patch
Type: text/x-patch
Size: 1919 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090216/b02c4643/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090216/b02c4643/attachment.sig>


More information about the fedora-devel-list mailing list