aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'com32/elflink/Makefile')
-rw-r--r--com32/elflink/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/elflink/Makefile b/com32/elflink/Makefile
index fa3be12c..bf50a2eb 100644
--- a/com32/elflink/Makefile
+++ b/com32/elflink/Makefile
@@ -89,8 +89,8 @@ test_memalign.elf : test_memalign.o $(LIBS)
$(LD) $(LDFLAGS) -o $@ $^
test_com32.elf: CFLAGS += -DELF_DEBUG
-test_com32.elf: test_com32.o elf_module.o elf_utils.o $(LIBS)
- $(LD) -n $(LDFLAGS) -o $@ $^
+test_com32.elf: test_com32.o elf_module.o elf_utils.o ../libutil/libutil_com.a ../lib/libcom32min.a $(LIBGCC)
+ $(LD) -n $(LDFLAGS) -o $@ test_com32.o elf_module.o elf_utils.o ../libutil/libutil_com.a $(LIBGCC) --whole-archive ../lib/libcom32min.a
$(OBJCOPY) --extract-symbol $@ _root_.dyn
tidy dist: