Linking order matters

This commit is contained in:
flamingcow
2019-05-07 23:43:45 -07:00
parent 63b3584cfa
commit 49766e29f4

View File

@@ -9,7 +9,7 @@ firebuf.a: $(objects)
ar rcs $@ $^
firebuf.o: $(objects)
ld --relocatable --output=$@ $^
ld --relocatable --output=$@ $+
%.o: %.cc *.h Makefile
$(FIRE_CXX) $(FIRE_CXXFLAGS) -c -o $@ $<