Commit 952d547d authored by Adam Wujek's avatar Adam Wujek 💬

tools: use static version of libspec

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 9fcf3c70
......@@ -8,7 +8,6 @@ REPO_PARENT=../..
-include $(REPO_PARENT)/parent_common.mk
CFLAGS += -ggdb -Wall -fPIC -I../kernel $(EXTRACFLAGS)
LDFLAGS += -L. -lspec
LIB = libspec.a
LIBOBJ = speclib.o loader-ll.o
......@@ -30,7 +29,7 @@ loader-ll.o: ../kernel/loader-ll.c
${CC} $(CFLAGS) -c $^ -I .
$(LIBSHARED): $(LIB)
${CC} -shared -o $@ -Wl,--whole-archive $^ -Wl,--no-whole-archive
$(CC) -shared -o $@ -Wl,--whole-archive $^ -Wl,--no-whole-archive
clean:
......
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