Obey LDFLAGS

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Upstream-Status: Pending

--- setserial-2.17.orig/Makefile.in
+++ setserial-2.17/Makefile.in
@@ -13,6 +13,7 @@ STRIP = @STRIP@
 CC = @CC@
 RM = rm -f
 CFLAGS = @CFLAGS@
+LDFLAGS = @LDFLAGS@
 DEFS = @DEFS@
 INCS = -I.
 TAR = tar
@@ -20,7 +21,7 @@ TAR = tar
 all: setserial setserial.cat

 setserial: setserial.c
-	$(CC) $(CFLAGS) $(DEFS) $(INCS) setserial.c -o setserial
+	$(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) $(INCS) setserial.c -o setserial

 setserial.cat: setserial.8
	nroff -man setserial.8 > setserial.cat
