correct lib build
authorMazet Laurent <laurent.mazet@thalesgroup.com>
Thu, 3 Jul 2025 07:18:37 +0000 (09:18 +0200)
committerMazet Laurent <laurent.mazet@thalesgroup.com>
Thu, 3 Jul 2025 07:18:37 +0000 (09:18 +0200)
makefile

index 85e3b4dfd733199c6945542efe932812f91108f4..c2bc004be5c1c8b48847482e99f8007256380c42 100644 (file)
--- a/makefile
+++ b/makefile
@@ -236,7 +236,7 @@ lib%.lld: %.c
 
 lib%.a: %.o %.d
        $(call TITLE, "Building $@")
-       $(AR) qc $@ $< $(shell $(call GETCOMMENTS,$(AROPT), ${<:.o=.c}))
+       $(AR) rc $@ $< $(shell $(call GETCOMMENTS,$(AROPT), ${<:.o=.c}))
        $(RANLIB) $@
        $(call PASS, SUCCESS)