On 08/08/2009 08:58 PM, Jussi Lehtola wrote:
On Sat, 2009-08-08 at 18:34 +0200, Ralf Corsepius wrote:
On 08/08/2009 12:19 PM, Jussi Lehtola wrote:
Hi,
why does %configure still use
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--target=i586-redhat-linux-gnu
in rawhide i386, shouldn't the target be i686-redhat-linux-gnu?
--target should not be set at all.
It's meaningless for 99.9% of all packages.
.. and it causes trouble in the 0.1% of packages: compilers.
Correct, it's a bug in redhat-rpm-config.
Actually, I thought this was fixed a long time ago, because we have this
discussion each time a compiler/toolchain package is being introduced to
Fedora.
Either this didn't happen or somebody reintroduced the bug.
Common work-around is not to use %configure for such package.
At least
the pcc build scripts think that a cross-compilation is in course, since
the host and target arguments differ.
This would be a bug in this package.
Modern (autoconf > 2.13) autotools treat $build != $host as cross
compilation.
Ralf
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list