RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm-4.4.8 selects a wrong build target

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 12 Jul 2007 - 23:01:54 CEST
Message-Id: <1DB6ABEA-EECC-4A8B-B78B-BB55E607E916@mac.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jul 12, 2007, at 4:58 PM, Eric MSP Veith wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 12 July 2007, Jeff Johnson <n3npq@mac.com> wrote:
>> Is it really that difficult to add --target CPU-VENDOR-OS?
>
> No, it is not. It was just more comfortable as long as I didn't  
> need to type
> it, and I just wanted to ask if there's some way of setting it
> permanently. :-)
>

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 ;-)

73 de jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFGlpbHuHNkGyA5spERAqApAJ0WkLrAFNgO8fRsktXlpb+so1CX5ACfTcHY
7cwCl+1R1lFb6p6Qa2/GQug=
=uXLp
-----END PGP SIGNATURE-----
Received on Thu Jul 12 23:02:07 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.