aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-10-19 18:41:23 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-10-19 18:41:23 -0400
commit5918c8534aead231920714bacbef7fd458bc353c (patch)
tree827011cb1d552c2fdce8afcabd451d789af45184
parent7e9d002adbebf4d6ca3215779efaf7c3f2ffd153 (diff)
downloadgcc-5918c8534aead231920714bacbef7fd458bc353c.zip
gcc-5918c8534aead231920714bacbef7fd458bc353c.tar.gz
gcc-5918c8534aead231920714bacbef7fd458bc353c.tar.bz2
(libgcc{1,2}.a): Allow LIB{1,2}FUNCS_EXTRA files to end in .S as well
as .c and .asm. From-SVN: r10474
-rw-r--r--gcc/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index f97e99d..7575901 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -789,7 +789,7 @@ libgcc1.a: libgcc1.c $(CONFIG_H) $(LIB1FUNCS_EXTRA) config.status
for file in .. $(LIB1FUNCS_EXTRA); \
do \
if [ x$${file} != x.. ]; then \
- name=`echo $${file} | sed -e 's/[.]c$$//' -e 's/[.]asm$$//'`; \
+ name=`echo $${file} | sed -e 's/[.][cS]$$//' -e 's/[.]asm$$//'`; \
echo $${name}; \
if [ $${name}.asm = $${file} ]; then \
cp $${file} $${name}.s || exit 1; file=$${name}.s; \
@@ -887,7 +887,7 @@ libgcc2.a: libgcc2.c libgcc2.ready $(CONFIG_H) $(LIB2FUNCS_EXTRA) \
for file in .. $(LIB2FUNCS_EXTRA); \
do \
if [ x$${file} != x.. ]; then \
- name=`echo $${file} | sed -e 's/[.]c$$//' -e 's/[.]asm$$//'`; \
+ name=`echo $${file} | sed -e 's/[.][cS]$$//' -e 's/[.]asm$$//'`; \
oname=` echo $${name} | sed -e 's,.*/,,'`; \
echo $${name}; \
if [ $${name}.asm = $${file} ]; then \