diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-11-09 13:56:53 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-11-09 13:56:53 +0000 |
commit | 6c80a64553f3ebffaf5c44c947b43ecad4e94b34 (patch) | |
tree | 8304e960ce617b51cfb0c313bc77bb5c0b45832f /gcc/mklibgcc.in | |
parent | 6a4afa6c801453c372929f67afe216d5253a0606 (diff) | |
download | gcc-6c80a64553f3ebffaf5c44c947b43ecad4e94b34.zip gcc-6c80a64553f3ebffaf5c44c947b43ecad4e94b34.tar.gz gcc-6c80a64553f3ebffaf5c44c947b43ecad4e94b34.tar.bz2 |
mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from interpreting $out as a macro assignment.
* mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
interpreting $out as a macro assignment.
* Makefile.in (T_TARGET): New auxiliary macro and target.
(all): Add a target right in the beginning, so that we don't build
T_TARGET by default.
From-SVN: r37342
Diffstat (limited to 'gcc/mklibgcc.in')
-rw-r--r-- | gcc/mklibgcc.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in index e9dc22c..1953da47 100644 --- a/gcc/mklibgcc.in +++ b/gcc/mklibgcc.in @@ -363,13 +363,18 @@ for f in $EXTRA_MULTILIB_PARTS; do flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; case $dir in .) out=$f ; t= ;; - *) out="$dir/$f" ; t=$dir/ ;; + *) out=$dir/$f ; t=$dir/ ;; + esac + case $out in + # Prevent `make' from interpreting $out as a macro assignment + *'$(EQ)'*) targ="T_TARGET=$out T_TARGET" ;; + *) targ=$out ;; esac echo $out: stmp-dirs echo " $make_compile" \\ echo ' LIBGCC2_CFLAGS="$(LIBGCC2_CFLAGS)' $flags '" ' \\ - echo ' MULTILIB_CFLAGS="'$flags'"' T=$t $out + echo ' MULTILIB_CFLAGS="'$flags'"' T=$t $targ all="$all $out" done |