RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm-4.4.8 selects a wrong build target

From: Robert Scheck <robert@rpm5.org>
Date: Tue 24 Jul 2007 - 23:05:14 CEST
Message-ID: <20070724210514.GA21542@hurricane.linuxnetz.de>
Evening folks,

On Thu, 12 Jul 2007, Jeff Johnson wrote:
> You can set /etc/rpm/platform to whatever you want.
> If its necessary to handle multiple cpu targets without adding
> - --target, then argv[0] will be parsed like gcc does. That has been
> on my todo list for a while, but then so was ripping rpmrc from rpm.
> Only took 8 years to accomplish ;-)

so I must use --target i386-redhat-linux-gnu all the time? Or can I "map"
i386 to i386-redhat-linux-gnu using /etc/rpm/platform somehow? E.g. by
putting .*-redhat-linux-gnu into /etc/rpm/platform and then using the
--target i386/i686 like before? Sorry, I'm a bit lazy and just a creature
of habit ;)

Received on Tue Jul 24 23:15:45 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.