RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Which of {host,build,target} to use in configure.ac?

From: Anders F Björklund <afb@rpm5.org>
Date: Wed 13 Aug 2008 - 21:53:50 CEST
Message-Id: <0F4D5872-D03F-4BD0-A6FD-26C3F5C1983B@rpm5.org>
Dan Nicholson wrote:

> The default rpm %configure passes --host=%_host, which is derived at
> rpm build time. Probably better would be to pass %_target_platform as
> --host, --build and --target.

I thought it used  ./configure --host=%{_host} --build=%{_build} \
--target=%{_target_platform} so it could use "pretty" targets like:
i386-redhat-linux and i386-apple-darwin, even though the "actual"
host was something like i686-redhat-linux-gnu or i686-apple-darwin8 ?

Received on Wed Aug 13 22:14:25 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.