summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-06-17 05:17:31 -0700
committerYamaArashi <shadow962@live.com>2016-06-17 05:17:31 -0700
commita761374c43d27ab09f95ac1c4047c8c6fe302fc8 (patch)
tree51bf1f6f138205d56bac1c7781b30d3cf6d0ea38 /libgcc
parent939de61157e9ff1583b2a358929a3af646025185 (diff)
build fixes for Linux
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgcc/Makefile b/libgcc/Makefile
index 1626e52..72a99f8 100644
--- a/libgcc/Makefile
+++ b/libgcc/Makefile
@@ -24,7 +24,7 @@ libgcc1.a: lib1thumb.asm
do \
echo $${name}; \
$(CPP) -undef -nostdinc -DL$${name} -x assembler-with-cpp -o $${name}.s lib1thumb.asm; \
- echo -e ".text\n\t.align\t2, 0\n" >> $${name}.s ; \
+ bash -c 'echo -e ".text\n\t.align\t2, 0\n"' >> $${name}.s ; \
$(AS) -mcpu=arm7tdmi -o $${name}.o $${name}.s; \
rm -f $${name}.s; \
$(AR) -rc tmplibgcc1.a $${name}.o; \
@@ -43,7 +43,7 @@ libgcc2.a: libgcc2.c longlong.h
$(CPP) -undef -I ../ginclude -nostdinc -DL$${name} -o $${name}.i libgcc2.c; \
$(CC1) -O2 $${name}.i; \
rm -f $${name}.i; \
- echo -e ".text\n\t.align\t2, 0\n" >> $${name}.s ; \
+ bash -c 'echo -e ".text\n\t.align\t2, 0\n"' >> $${name}.s ; \
$(AS) -mcpu=arm7tdmi -o $${name}.o $${name}.s; \
rm -f $${name}.s; \
$(AR) -rc tmplibgcc2.a $${name}.o; \