SOURCES: setpwc-Makefile.patch (NEW) - OPTCFLAGS, linking, don't s...
sparky
sparky at pld-linux.org
Wed Nov 22 19:13:26 CET 2006
Author: sparky Date: Wed Nov 22 18:13:26 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- OPTCFLAGS, linking, don't strip
---- Files affected:
SOURCES:
setpwc-Makefile.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/setpwc-Makefile.patch
diff -u /dev/null SOURCES/setpwc-Makefile.patch:1.1
--- /dev/null Wed Nov 22 19:13:26 2006
+++ SOURCES/setpwc-Makefile.patch Wed Nov 22 19:13:21 2006
@@ -0,0 +1,22 @@
+diff -Nur setpwc-1.1.orig/Makefile setpwc-1.1.Makefile/Makefile
+--- setpwc-1.1.orig/Makefile 2005-12-28 15:13:25.000000000 +0000
++++ setpwc-1.1.Makefile/Makefile 2006-11-22 18:02:06.000000000 +0000
+@@ -13,7 +13,7 @@
+ # files in the program, then also delete it here.
+
+ VERSION=1.1
+-CFLAGS+=-Wall -O2 -DVERSION=\"$(VERSION)\"
++CFLAGS = -Wall $(OPTCFLAGS) -DVERSION=\"$(VERSION)\"
+ LDFLAGS=
+
+ OBJS=setpwc.o
+@@ -21,8 +21,7 @@
+ all: setpwc
+
+ setpwc: $(OBJS)
+- $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o setpwc
+- strip setpwc
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o setpwc
+ #
+ # Oh, blatant plug: http://keetweej.vanheusden.com/wishlist.html
+
================================================================
More information about the pld-cvs-commit
mailing list