packages: dwm/dwm-flags.patch (NEW) - pass our rpm*flags
lisu
lisu at pld-linux.org
Mon Dec 27 11:05:43 CET 2010
Author: lisu Date: Mon Dec 27 10:05:43 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- pass our rpm*flags
---- Files affected:
packages/dwm:
dwm-flags.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/dwm/dwm-flags.patch
diff -u /dev/null packages/dwm/dwm-flags.patch:1.1
--- /dev/null Mon Dec 27 11:05:43 2010
+++ packages/dwm/dwm-flags.patch Mon Dec 27 11:05:38 2010
@@ -0,0 +1,42 @@
+--- dwm-5.8.2/Makefile~ 2010-06-04 12:39:15.000000000 +0200
++++ dwm-5.8.2/Makefile 2010-12-27 10:54:57.840202001 +0100
+@@ -10,13 +10,14 @@
+
+ options:
+ @echo dwm build options:
+- @echo "CFLAGS = ${CFLAGS}"
++ @echo "CFLAGS = ${CFLAGS} ${OPTFLAGS}"
+ @echo "LDFLAGS = ${LDFLAGS}"
++ @echo "LIBS = ${LIBS}"
+ @echo "CC = ${CC}"
+
+ .c.o:
+ @echo CC $<
+- @${CC} -c ${CFLAGS} $<
++ @${CC} -c ${CFLAGS} ${OPTFLAGS} $<
+
+ ${OBJ}: config.h config.mk
+
+@@ -26,7 +27,7 @@
+
+ dwm: ${OBJ}
+ @echo CC -o $@
+- @${CC} -o $@ ${OBJ} ${LDFLAGS}
++ @${CC} ${LDFLAGS} -o $@ ${OBJ} ${LIBS}
+
+ clean:
+ @echo cleaning
+--- dwm-5.8.2/config.mk~ 2010-06-04 12:39:15.000000000 +0200
++++ dwm-5.8.2/config.mk 2010-12-27 10:57:43.983535334 +0100
+@@ -20,9 +20,9 @@
+
+ # flags
+ CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+-CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
++CFLAGS = -g -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
+ #CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+-LDFLAGS = -g ${LIBS}
++LDFLAGS = -g
+ #LDFLAGS = -s ${LIBS}
+
+ # Solaris
================================================================
More information about the pld-cvs-commit
mailing list