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]

Minor cleanup patch



I have installed this minor cleanup patch.  Basically this patch
forces us to always build the target libraries in the $(target_alias)
subdir.



*** configure.in.orig	Sat Sep 19 22:24:47 1998
--- configure.in	Tue Sep 22 18:19:03 1998
*************** if [ x"${host}" = x"${target}" ] ; then
*** 362,381 ****
  	# that are in the 'cross only' list
  	skipdirs="${skipdirs} ${cross_only}"
  	is_cross_compiler=no
- 	# Default to --enable-multilib.  See similar code below.
- 	if [ x${enable_multilib} = xno ]; then
- 	  target_subdir=.
- 	else
- 	  target_subdir=${target_alias}
- 	fi
  else
  	# similarly, don't build the targets in the 'native only' 
  	# list when building a cross compiler
  	skipdirs="${skipdirs} ${native_only}"
  	is_cross_compiler=yes
- 	target_subdir=${target_alias}
  fi	
  
  if [ ! -d ${target_subdir} ] ; then
    if mkdir ${target_subdir} ; then true
    else
--- 362,379 ----
  	# that are in the 'cross only' list
  	skipdirs="${skipdirs} ${cross_only}"
  	is_cross_compiler=no
  else
  	# similarly, don't build the targets in the 'native only' 
  	# list when building a cross compiler
  	skipdirs="${skipdirs} ${native_only}"
  	is_cross_compiler=yes
  fi	
  
+ # We always want to use the same name for this directory, so that dejagnu
+ # can reliably find it.
+ target_subdir=${target_alias}
+   
+ target_subdir=${target_alias}
  if [ ! -d ${target_subdir} ] ; then
    if mkdir ${target_subdir} ; then true
    else


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