diff options
Diffstat (limited to 'packages/setserial/files/addflags.patch')
-rw-r--r-- | packages/setserial/files/addflags.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/setserial/files/addflags.patch b/packages/setserial/files/addflags.patch new file mode 100644 index 0000000000..d4f4c91190 --- /dev/null +++ b/packages/setserial/files/addflags.patch @@ -0,0 +1,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 |