commit c8f1b2b548d1ca0f577e3005ce3514cddd6f491f
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Tue Feb 21 10:07:41 2017 +0100
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Tue Feb 21 10:07:41 2017 +0100
[libc] Use AR variable in the Makefile
diff --git a/libc/src/Makefile b/libc/src/Makefile
index 022e6ff..f591fb3 100644
--- a/libc/src/Makefile
+++ b/libc/src/Makefile
@@ -12,7 +12,7 @@ LIBCOBJ = assert.o strcpy.o strcmp.o strlen.o strchr.o \
all: libc.a
libc.a: $(LIBCOBJ)
- ar $(ARFLAGS) $@ $?
+ $(AR) $(ARFLAGS) $@ $?
ranlib $@
clean: