Re: RFC: RPM build flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 16 February 2009 03:56:04 pm Nicolas Chauvet wrote:
> 2009/2/16 Dennis Gilmore <dennis@xxxxxxxx>:
> > 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.
>
> +buildarchtranslate: i686: i586
> Why to downgrade i686 to i586 ? (same for athlon)
it sets the arch that is used when you do rpmbuild -ba <spec>  this way people 
will get .i586 rpms the same as koji spits out.  its previously been defined in 
rpm to be i386  otherwise without --target=i586  you would get i386 rpms 
locally.

Dennis

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux