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