Use $(AR)

This commit is contained in:
Charles 2025-10-29 13:44:26 -04:00
parent 45487891f1
commit 7844b354a5

View file

@ -111,7 +111,7 @@ CPPFLAGS += \
-DCONFIG_SELF_INIT=$(CONFIG_SELF_INIT) -DCONFIG_SELF_INIT=$(CONFIG_SELF_INIT)
$(OUT)/libhardened_malloc$(SUFFIX).a: $(OBJECTS) | $(OUT) $(OUT)/libhardened_malloc$(SUFFIX).a: $(OBJECTS) | $(OUT)
ar rcs $@ $^ $(AR) rcs $@ $^
$(OUT)/libhardened_malloc$(SUFFIX).so: $(OBJECTS) | $(OUT) $(OUT)/libhardened_malloc$(SUFFIX).so: $(OBJECTS) | $(OUT)
$(CC) $(CFLAGS) $(LDFLAGS) -shared $^ $(LDLIBS) -o $@ $(CC) $(CFLAGS) $(LDFLAGS) -shared $^ $(LDLIBS) -o $@