1Do not pass cr option
2
3These options are already coming from builddefs
4
5Upstream-Status: Pending
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8--- a/src/include/builddefs.in
9+++ b/src/include/builddefs.in
10@@ -167,7 +167,7 @@ OBJECTS = $(ASFILES:.s=.o) \
11
12 #NB: don't override $(MAKE); gnumake sets it well, propagating -j etc.
13 #MAKE	= @make@
14-AR	= @ar@
15+AR	= @ar@ cqs
16 CC	= @cc@
17 CXX	= @cxx@
18 LD	= @ld@
19--- a/src/include/buildrules
20+++ b/src/include/buildrules
21@@ -93,7 +93,7 @@ $(STATICLIBTARGET) : $(SUBDIRS) $(OBJECT
22 ifeq ($(TARGET_OS), darwin)
23 	libtool -static -o $(STATICLIBTARGET) $?
24 else
25-	$(AR) cr $(STATICLIBTARGET) $?
26+	$(AR) $(STATICLIBTARGET) $?
27 endif
28 endif
29
30