Merge pull request #689 from DurandA/patch-7

libcompiler_rt: Remove duplicate mulsi3.o in Makefile
This commit is contained in:
enjoy-digital 2020-11-09 11:08:29 +01:00 committed by GitHub
commit 80883ef37e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -13,8 +13,7 @@ OBJECTS=umodsi3.o udivsi3.o divsi3.o modsi3.o comparesf2.o comparedf2.o negsf2.o
all: libcompiler_rt.a all: libcompiler_rt.a
libcompiler_rt.a: $(OBJECTS) libcompiler_rt.a: $(OBJECTS) mulsi3.o
$(CC) -c $(CFLAGS) $(1) $(SOC_DIRECTORY)/software/libcompiler_rt/mulsi3.c -o mulsi3.o
$(AR) crs libcompiler_rt.a $(OBJECTS) mulsi3.o $(AR) crs libcompiler_rt.a $(OBJECTS) mulsi3.o
# pull in dependency info for *existing* .o files # pull in dependency info for *existing* .o files