diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-08 03:51:34 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-08 03:51:34 +0000 |
commit | 38e57666a4ee258a422f2ef29b4189f7f77945de (patch) | |
tree | e00049f1f9b0583e8d18da10f261c65be2d5c12b /gcc/mklibgcc.in | |
parent | 307f5d0fa55d44ab4f729333095b2cfa17bca08b (diff) | |
download | gcc-38e57666a4ee258a422f2ef29b4189f7f77945de.tar.gz |
* mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
in-place.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37312 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mklibgcc.in')
-rw-r--r-- | gcc/mklibgcc.in | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in index 4d957fa063b..e9dc22cb7a2 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 |