[st] Include the optflags patch

Petr Šabata psabata at fedoraproject.org
Tue Apr 23 09:13:22 UTC 2013


commit e952b69a18aacc863b0f8123118f51d37acb5ffe
Author: Petr Šabata <contyk at redhat.com>
Date:   Tue Apr 23 11:13:17 2013 +0200

    Include the optflags patch

 st-0.4-optflags.patch |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/st-0.4-optflags.patch b/st-0.4-optflags.patch
new file mode 100644
index 0000000..1deca8a
--- /dev/null
+++ b/st-0.4-optflags.patch
@@ -0,0 +1,13 @@
+diff --git a/config.mk b/config.mk
+index 88355c7..3c67547 100644
+--- a/config.mk
++++ b/config.mk
+@@ -20,7 +20,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft \
+ 
+ # flags
+ CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600
+-CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
++CFLAGS += -std=c99 ${RPM_OPT_FLAGS} ${INCS} ${CPPFLAGS}
+ LDFLAGS += -g ${LIBS}
+ 
+ # compiler and linker


More information about the scm-commits mailing list