This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]