--- plugins/fastool/Makefile	2019-10-18 07:31:19.000000000 +0200
+++ plugins/fastool/Makefile	2019-10-18 07:31:19.000000000 +0200
@@ -1,8 +1,5 @@
-CC     = gcc
-CFLAGS = -O2 -std=c99
-
 all:kseq.h fastool.c
-	$(CC) $(CFLAGS) fastool.c -o fastool -lz
+	$(CC) $(CFLAGS) fastool.c -o fastool $(LDFLAGS) -lz
 
 clean:
-	rm -f *.o fastool
\ No newline at end of file
+	rm -f *.o fastool
