--- Makefile.orig	2020-09-06 09:46:30.000000000 +0200
+++ Makefile	2020-09-06 09:46:36.000000000 +0200
@@ -15,7 +15,7 @@
 all: grepcidr
 
 grepcidr: grepcidr.o
-	$(CC) $(CFLAGS) grepcidr.o -o grepcidr
+	$(CC) $(CFLAGS) $(LDFLAGS) grepcidr.o -o grepcidr
 
 doc: grepcidr.1
 
