Commit 3ea13393 authored by Adam Wujek's avatar Adam Wujek 💬

sw:lib: use ar defined in a variable

suppress a warning produced by an ar like:
ar: creating libsvec.a
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 2e90ff5c
......@@ -20,9 +20,9 @@ CFLAGS += -I$(TRTL_SW)/include -I$(TRTL_SW)/lib -I$(TRTL_SW)/kernel
CFLAGS += -DRT_APPLICATION_ID_CPU2=$(RT_APPLICATION_ID_CPU2)
CFLAGS += $(EXTRACFLAGS)
LDFLAGS += -L.
ARFLAGS = rc
LDLIBS += -lsvec
modules all: $(LIB)
......@@ -30,7 +30,7 @@ modules all: $(LIB)
$(CC) $(CFLAGS) $(LDFLAGS) $*.c $(LDLIBS) -o $@
$(LIB): $(LOBJ)
ar r $@ $^
$(AR) $(ARFLAGS) $@ $^
clean:
rm -f $(LIB) .depend *.o *~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment