summaryrefslogtreecommitdiffstats
path: root/libgloss/config
diff options
context:
space:
mode:
authorMichael Frysinger <vapier@gentoo.org>2012-03-13 01:47:40 +0000
committerMichael Frysinger <vapier@gentoo.org>2012-03-13 01:47:40 +0000
commitf408b153cc3b806db2b20912e55954ba75396f46 (patch)
treefadfd55b5b48a0d141f28fd57b47b42d53d36f99 /libgloss/config
parent3617fc885911df0e436ff03ae944316d23052506 (diff)
downloadcygnal-f408b153cc3b806db2b20912e55954ba75396f46.tar.gz
cygnal-f408b153cc3b806db2b20912e55954ba75396f46.tar.bz2
cygnal-f408b153cc3b806db2b20912e55954ba75396f46.zip
libgloss: change 'q' flag to 'r' in ar call
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. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libgloss/config')
-rw-r--r--libgloss/config/default.mh2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/config/default.mh b/libgloss/config/default.mh
index 915c4f6f9..a86430263 100644
--- a/libgloss/config/default.mh
+++ b/libgloss/config/default.mh
@@ -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) $<