ref: d318d7cb6ff8f8ddfefe12d67fa4abafa28e8ea2
parent: ad747e94d0e1af96a19f40412332092705c0aa33
parent: 1b3d77536626515f9040b8646cbf72daf9a59747
author: James Zern <[email protected]>
date: Thu Sep 10 22:30:07 EDT 2015
Merge "build: modify default ARFLAGS / .a target"
--- a/build/make/Makefile
+++ b/build/make/Makefile
@@ -287,7 +287,7 @@
# for creating them.
$(1):
$(if $(quiet),@echo " [AR] $$@")
- $(qexec)$$(AR) $$(ARFLAGS) $$@ $$?
+ $(qexec)$$(AR) $$(ARFLAGS) $$@ $$^
endef
define so_template
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -428,7 +428,7 @@
CFLAGS = ${CFLAGS}
CXXFLAGS = ${CXXFLAGS}
-ARFLAGS = -rus\$(if \$(quiet),c,v)
+ARFLAGS = -crs\$(if \$(quiet),,v)
LDFLAGS = ${LDFLAGS}
ASFLAGS = ${ASFLAGS}
extralibs = ${extralibs}