summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>2011-08-09 22:12:34 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-09-11 22:08:13 (GMT)
commita8d6e2cc70e1532efea7aba791625a8cb68a10e4 (patch)
tree4263edde2e6ec2e831442eaac6418bbbb652ed17
parentdba4b184318450435e3c5efd0b1955edbece8feb (diff)
downloadbuildroot-a8d6e2cc70e1532efea7aba791625a8cb68a10e4.tar.gz
buildroot-a8d6e2cc70e1532efea7aba791625a8cb68a10e4.tar.bz2
Makefile: auto-target automatically pass --program-prefix=""
When cross-compiled, some packages incorrectly prefix their executables with the target tuple. Fix that by forcing the program prefix to the empty string when calling ./configure, but only when compiling for target, not for host. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Makefile.autotools.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index 46ab861..7f04c36 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -100,6 +100,7 @@ define $(2)_CONFIGURE_CMDS
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
+ --program-prefix="" \
$$(DISABLE_DOCUMENTATION) \
$$(DISABLE_NLS) \
$$(DISABLE_LARGEFILE) \