This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Fix config-ml.in
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Wed, 1 Oct 2003 11:25:47 -0700
- Subject: PATCH: Fix config-ml.in
config-ml.in sets environment with ${ml_config_env}. But configure
may override them if the same variable is passed at the command
line in ${ml_arguments}. One of them is CC, among others. This patch
makes sure the ones in ${ml_config_env} will be used.
H.J.
---
2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
* config-ml.in: Also pass ${ml_config_env} as arguments.
--- config-ml.in.multilib 2003-07-07 14:44:21.000000000 -0700
+++ config-ml.in 2003-10-01 11:20:45.000000000 -0700
@@ -845,7 +845,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_n
if eval ${ml_config_env} ${ml_config_shell} ${ml_recprog} \
--with-multisubdir=${ml_dir} --with-multisrctop=${multisrctop} \
- ${ml_arguments} ${ml_srcdiroption} ; then
+ ${ml_arguments} ${ml_config_env} ${ml_srcdiroption} ; then
true
else
exit 1