PATCH: Fix config-ml.in

H. J. Lu hjl@lucon.org
Wed Oct 1 18:25:00 GMT 2003


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



More information about the Binutils mailing list