On Tue, 2006-09-19 at 05:20 -0500, Rex Dieter wrote:
Ralf Corsepius wrote:
> The real fix would be rpm to drop passing --target and leave appending
> it to those maintainers who really need it.
If you drop --target, then you'll have to drop --host as well, else,
you'll end up seeing binaries named like:
%{_bindir}/i386-redhat-linux-foo
Only if the package's configuration is broken
:)
Normal packages don't apply --target at all nor do they apply
canonicalisation (the behavior you describe above).
Only packages using AC_CANONICAL_TARGET, use --target, and are subject
to canonicalisation if --target is passed to configure. If it's not
being passed canonicalisation doesn't take place
Some maintainers are confusing --host/--build/--target with host and/or
build and incorrectly apply --target.
that's why --target was added in the first place (way back when).
... broken packages ... confused maintainers ...
ancient/outdated/unmaintained packages ... many years ago, there once
was a bug in autoconf/automake which triggered this behavior.
This bug has been resolved many years ago.
Ralf