make utest/Makefile respect LDFLAGS
authorFrançois Bissey <francois.bissey@canterbury.ac.nz>
Wed, 12 Oct 2016 20:32:25 +0000 (09:32 +1300)
committerFrançois Bissey <francois.bissey@canterbury.ac.nz>
Wed, 12 Oct 2016 20:32:25 +0000 (09:32 +1300)
utest/Makefile

index 3ccc0a0..ce809e3 100644 (file)
@@ -18,7 +18,7 @@ endif
 all : run_test
 
 $(UTESTBIN): $(OBJS)
-       $(CC) $(CFLAGS) -o $@ $^ ../$(LIBNAME) $(EXTRALIB) $(FEXTRALIB)
+       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ ../$(LIBNAME) $(EXTRALIB) $(FEXTRALIB)
 
 run_test: $(UTESTBIN)
 ifndef CROSS