summaryrefslogtreecommitdiff
path: root/packages/setserial/files/addflags.patch
blob: d4f4c9119059df58f02b0f5b01370f8d5c9aea42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: setserial-2.17/Makefile.in
===================================================================
--- 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