--- libowfat-0.28.orig/Makefile	2008-11-15 17:06:28.000000000 +0100
+++ libowfat-0.28/Makefile	2011-01-15 13:40:31.000000000 +0100
@@ -603,7 +603,7 @@ CFLAGS+=-I.
 t.o: iopause.h
 
 t: t.o libowfat.a libsocket
-	$(DIET) $(CC) -g -o $@ t.o libowfat.a `cat libsocket`
+	$(DIET) $(CC) $(LDFLAGS) -g -o $@ t.o libowfat.a `cat libsocket`
 
 .PHONY: all clean tar install rename
 clean:
