Skip to content

Commit 1f1e42d

Browse files
authored
Add c flag when invoking ar (#241)
`llvm-ar` warns when the archive does not exist and `c` is not passed.
1 parent 63f31c9 commit 1f1e42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ utf8proc.o: utf8proc.h utf8proc.c utf8proc_data.c
7878

7979
libutf8proc.a: utf8proc.o
8080
rm -f libutf8proc.a
81-
$(AR) rs libutf8proc.a utf8proc.o
81+
$(AR) crs libutf8proc.a utf8proc.o
8282

8383
libutf8proc.so.$(MAJOR).$(MINOR).$(PATCH): utf8proc.o
8484
$(CC) $(LDFLAGS) $(LDFLAG_SHARED) -o $@ $(SOFLAG) -Wl,libutf8proc.so.$(MAJOR) utf8proc.o

0 commit comments

Comments
 (0)