discount/discount-fix-compile-warings.diff
Martin Pluskal ebddb6956d - Update to version 2.2.2:
* No changelog provided
- Refresh patches:
  * discount-disable_ldconfig.patch
  * discount-fix-compile-warings.diff

OBS-URL: https://build.opensuse.org/package/show/Publishing/discount?expand=0&rev=13
2017-02-09 16:16:58 +00:00

17 lines
452 B
Diff

Index: Makefile.in
===================================================================
--- Makefile.in.orig
+++ Makefile.in
@@ -115,9 +115,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