Linker's objects/libraries order changed

gcc linker needs to parse objects before linking the necessary libraries
This commit is contained in:
Gareth Andrew Lloyd 2014-01-29 15:34:31 +00:00
parent 5d12706510
commit 3805483595

View file

@ -32,7 +32,7 @@ PROG = ./kvazaar
PROGS = $(PROG) PROGS = $(PROG)
$(PROG): $(OBJS) $(ASMOBJS) $(PROG): $(OBJS) $(ASMOBJS)
$(LD) $(LDFLAGS) $^ -o $@ $(LD) $^ $(LDFLAGS) -o $@
test.o: x86/test.asm test.o: x86/test.asm
$(YASM) -f elf x86/test.asm -o test.o $(YASM) -f elf x86/test.asm -o test.o