[dmenu] Port $RPM_OPT_FLAGS patch to 4.5 config.mk

Petr Šabata psabata at fedoraproject.org
Mon Jan 9 09:32:14 UTC 2012


commit 688aff2b81c30a5b194d04b3af9adb75c63802c3
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Jan 9 10:28:57 2012 +0100

    Port $RPM_OPT_FLAGS patch to 4.5 config.mk

 dmenu-4.3-make.patch |   15 ---------------
 dmenu-4.5-make.patch |   15 +++++++++++++++
 2 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/dmenu-4.5-make.patch b/dmenu-4.5-make.patch
new file mode 100644
index 0000000..3fd3b5a
--- /dev/null
+++ b/dmenu-4.5-make.patch
@@ -0,0 +1,15 @@
+diff --git a/config.mk b/config.mk
+index 92a5e63..40b8df9 100644
+--- a/config.mk
++++ b/config.mk
+@@ -19,8 +19,8 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
+ # flags
+ CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+ #CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
+-CFLAGS   = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+-LDFLAGS  = -s ${LIBS}
++CFLAGS   = -std=c99 -pedantic -Wall -Os ${RPM_OPT_FLAGS} ${INCS} ${CPPFLAGS}
++LDFLAGS  = ${LIBS}
+ 
+ # compiler and linker
+ CC = cc


More information about the scm-commits mailing list