Mailinglist Archive: opensuse-buildservice (216 mails)

< Previous Next >
Re: [opensuse-buildservice] 32bit packages in x86_64, for CentOS
  • From: Douglas Hubler <douglas@xxxxxxxxx>
  • Date: Tue, 16 Mar 2010 20:41:23 -0400
  • Message-id: <5d36de591003161741w62948f1p42a0a6e50481764e@xxxxxxxxxxxxxx>
On Tue, Mar 16, 2010 at 1:27 PM, Jon Nelson <jnelson-suse@xxxxxxxxxxx> wrote:
How might I specify in a specfile that I want to be able to use gcc
-m32, but in an x86_64 repo. Is such a thing even possible?
This is for CentOS 5.

if it's a flag to the compiler, then in the %configure line (assuming
you're using autoconf) then add

%ifarch x86_64
%configure CXXFLAGS=-m32 CFLAGS=-m32
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups