discount/discount-fix-compile-warings.diff

17 lines
452 B
Diff
Raw Normal View History

Index: Makefile.in
===================================================================
--- Makefile.in.orig
+++ Makefile.in
@@ -113,9 +113,9 @@ test: $(PGMS) $(TESTFRAMEWORK) verify
done
cols: tools/cols.c config.h
- $(CC) -o cols tools/cols.c
+ $(CC) $(CFLAGS) -o cols tools/cols.c
echo: tools/echo.c config.h
- $(CC) -o echo tools/echo.c
+ $(CC) $(CFLAGS) -o echo tools/echo.c
clean:
rm -f $(PGMS) $(TESTFRAMEWORK) $(SAMPLE_PGMS) *.o