diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-11-08 03:51:34 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-11-08 03:51:34 +0000 |
commit | 673887d51f03d14e0ec1a0516c0a39cec51b9c2a (patch) | |
tree | e00049f1f9b0583e8d18da10f261c65be2d5c12b /gcc | |
parent | 6e124e38ba59ff31ef0cf3ca1866b3c076d8ab4f (diff) | |
download | gcc-673887d51f03d14e0ec1a0516c0a39cec51b9c2a.zip gcc-673887d51f03d14e0ec1a0516c0a39cec51b9c2a.tar.gz gcc-673887d51f03d14e0ec1a0516c0a39cec51b9c2a.tar.bz2 |
mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts in-place.
* mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
in-place.
From-SVN: r37312
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/mklibgcc.in | 15 |
2 files changed, 11 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7bb1251..a2d1ad2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-11-08 Alexandre Oliva <aoliva@redhat.com> + + * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts + in-place. + 2000-11-07 Richard Henderson <rth@redhat.com> * dwarfout.c (INSN_LABEL_FMT): Remove. diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in index 4d957fa..e9dc22c 100644 --- a/gcc/mklibgcc.in +++ b/gcc/mklibgcc.in @@ -358,23 +358,20 @@ echo ' done' echo ' if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi' for f in $EXTRA_MULTILIB_PARTS; do - lastout="stmp-dirs force" for ml in $MULTILIBS; do dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'` flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; - out="$dir/$f" + case $dir in + .) out=$f ; t= ;; + *) out="$dir/$f" ; t=$dir/ ;; + esac - # Depend on previous out to serialize all sub-makes of this - # target file. This because ./$f is used as a temporary in - # each case before being moved to libgcc/$dir/. - echo $out: $lastout + echo $out: stmp-dirs echo " $make_compile" \\ echo ' LIBGCC2_CFLAGS="$(LIBGCC2_CFLAGS)' $flags '" ' \\ - echo ' MULTILIB_CFLAGS="'$flags'"' T=t t$f - echo " mv t$f $out" + echo ' MULTILIB_CFLAGS="'$flags'"' T=$t $out all="$all $out" - lastout="$out" done done |