how to have mock use arch i686?

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

 



This post suggests I need to be building packages using arch i686
instead of i386 as mock does by default.  If so, how do I go about
doing so?

Thanks,
Matt


----- Forwarded message from bugzilla@xxxxxxxxxx -----

Date: Tue, 16 Feb 2010 07:23:46 -0500
Subject: [Bug 565074] FTBFS opencv-2.0.0-4.fc13

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=565074

Karel Klíč <kklic@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |CLOSED
         Resolution|                            |RAWHIDE

--- Comment #5 from Karel Klíč <kklic@xxxxxxxxxx> 2010-02-16 07:23:43 EST ---
The -march=i386 is added by /usr/lib/rpm/redhat/rpmrc

The FTBFS system uses i386 build architecture. Koji uses i686 architecture
which has no problem with the compilation.

I fixed it by overriding CXXFLAXS on i386:
%ifarch i386
export CXXFLAGS="%{__global_cflags} -m32 -fasynchronous-unwind-tables"
%endif

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.


----- End forwarded message -----
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[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