Add -c to ar to remove a diagnostic, when the archive is created.
[libfirm] / Makefile
index 719474f..909d5c7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -164,7 +164,7 @@ libfirm_DEPS    = $(libfirm_OBJECTS:%.o=%.d)
 
 $(libfirm_a): $(libfirm_OBJECTS)
        @echo AR $@
-       $(Q)$(AR) ru $@ $^
+       $(Q)$(AR) -cru $@ $^
 
 $(libfirm_dll): $(libfirm_OBJECTS)
        @echo LINK $@