This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] libgloss: change


On 03/04/2012 12:29 AM, Mike Frysinger wrote:
the GNU ar has "q" aliased to "r", and we generally want this behavior anyways
(replacing rather than always appending), so change our AR_FLAGS definition
-mike

2012-03-04 Mike Frysinger<vapier@gentoo.org>

* config/default.mh (AR_FLAGS): Set to rc.

--- config/default.mh	17 Mar 2000 22:48:49 -0000	1.1
+++ config/default.mh	4 Mar 2012 05:27:31 -0000
@@ -6,7 +6,7 @@ INCLUDES = -I. -I$(srcdir)/..
  # options are passed; they're passed in $(CFLAGS).
  CFLAGS_FOR_TARGET = -O2 -g ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS}
  LDFLAGS_FOR_TARGET = ${MULTILIB} ${NEWLIB_LDFLAGS}
-AR_FLAGS = qc
+AR_FLAGS = rc

  .c.o:
  	$(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $<

Approved.


-- Jeff J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]