From dfa1ae5ff985a5cbd9386ae121ba108bd442c801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Mon, 25 Dec 2017 13:47:37 +0100 Subject: [PATCH] ensure libbas.a is linked latest to avoid mintlib conflict --- tos/fpga_test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tos/fpga_test/Makefile b/tos/fpga_test/Makefile index 1355639..325a7e1 100755 --- a/tos/fpga_test/Makefile +++ b/tos/fpga_test/Makefile @@ -86,7 +86,7 @@ $(1)/objs/%.o:$(SRCDIR)/%.S $(1)_OBJS=$(patsubst %,$(1)/objs/%,$(OBJS)) $(1)/$(APP): $$($(1)_OBJS) @echo CC $$@ - @$(CC) $$(CFLAGS) -o $$@ $$($(1)_OBJS) $(LIBS) + @$(CC) $$(CFLAGS) -o $$@ $$($(1)_OBJS) -lc $(LIBS) #$(STRIP) $$@ endef $(foreach DIR,$(TRGTDIRS),$(eval $(call CC_TEMPLATE,$(DIR))))