diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2021-08-09 18:18:36 -0400 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2021-08-09 18:18:36 -0400 |
commit | 5297ebf5085b236d8735c6722034dc5a782c2b0e (patch) | |
tree | b6fa7e80495b6988cefb2ee4294a2bba95d9358a /libgcc | |
parent | 1f83e3d73ffcb5ed0d028f132337d8d86b8d0ead (diff) |
Fix compilation on BSD make (from pizza2004).
Long-term, this should be fixed by just requiring macOS to use GNU make (probably via setting some alias), but this change is really overdue and not having a macOS computer makes this harder to test.
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libgcc/Makefile b/libgcc/Makefile index 6461d8e..0e96527 100644 --- a/libgcc/Makefile +++ b/libgcc/Makefile @@ -18,8 +18,8 @@ endif CC1 = ../old_agbcc libgcc.a: libgcc1.a libgcc2.a fp-bit.o dp-bit.o - $(AR) -x libgcc1.a - $(AR) -x libgcc2.a + $(AR) -x libgcc1.a; + $(AR) -x libgcc2.a; $(AR) -rc libgcc.a *.o LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX @@ -66,19 +66,19 @@ libgcc2.a: libgcc2.c longlong.h mv tmplibgcc2.a libgcc2.a fp-bit.o: fp-bit.c - $(CPP) -undef -I ../ginclude -nostdinc -o fp-bit.i fp-bit.c + $(CPP) -undef -I ../ginclude -nostdinc -o fp-bit.i fp-bit.c; $(CC1) -O2 fp-bit.i rm -f fp-bit.i bash -c 'echo -e ".text\n\t.align\t2, 0\n"' >> fp-bit.s - $(AS) -mcpu=arm7tdmi -o fp-bit.o fp-bit.s + $(AS) -mcpu=arm7tdmi -o fp-bit.o fp-bit.s; rm -f fp-bit.s dp-bit.o: dp-bit.c - $(CPP) -undef -I ../ginclude -nostdinc -o dp-bit.i dp-bit.c + $(CPP) -undef -I ../ginclude -nostdinc -o dp-bit.i dp-bit.c; $(CC1) -O2 dp-bit.i rm -f dp-bit.i bash -c 'echo -e ".text\n\t.align\t2, 0\n"' >> dp-bit.s - $(AS) -mcpu=arm7tdmi -o dp-bit.o dp-bit.s + $(AS) -mcpu=arm7tdmi -o dp-bit.o dp-bit.s; rm -f dp-bit.s fp-bit.c: fp-bit-base.c @@ -94,4 +94,4 @@ dp-bit.c: fp-bit-base.c .PHONY: clean clean: - rm -f *.o *.a *.s *.i + rm -f *.o *.a *.s *.i
\ No newline at end of file |