Group :: Sistema/Kernel e hardware
RPM: pommed
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: pommed-1.39-alt-rpm_opt_flags.patch
Download
Download
diff -urN pommed-1.39.orig/gpomme/Makefile pommed-1.39/gpomme/Makefile
--- pommed-1.39.orig/gpomme/Makefile 2011-06-02 12:24:05.000000000 +0300
+++ pommed-1.39/gpomme/Makefile 2012-05-08 03:25:29.724845820 +0300
@@ -14,7 +14,7 @@
INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H)
-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
+CFLAGS = $(RPM_OPT_FLAGS) $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
LDLIBS = -lpthread -lX11 $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS)
SOURCES = gpomme.c theme.c conffile.c \
diff -urN pommed-1.39.orig/pommed/Makefile pommed-1.39/pommed/Makefile
--- pommed-1.39.orig/pommed/Makefile 2011-06-02 12:24:05.000000000 +0300
+++ pommed-1.39/pommed/Makefile 2012-05-08 03:26:52.133254458 +0300
@@ -18,7 +18,7 @@
TIMERFD_CFLAGS = $(shell test -e /usr/include/sys/timerfd.h || echo -DNO_SYS_TIMERFD_H)
-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) $(TIMERFD_CFLAGS)
+CFLAGS = $(RPM_OPT_FLAGS) $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) $(TIMERFD_CFLAGS)
LDLIBS = -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
diff -urN pommed-1.39.orig/wmpomme/Makefile pommed-1.39/wmpomme/Makefile
--- pommed-1.39.orig/wmpomme/Makefile 2011-06-02 12:24:05.000000000 +0300
+++ pommed-1.39/wmpomme/Makefile 2012-05-08 03:26:32.277155998 +0300
@@ -5,7 +5,7 @@
TIMERFD_CFLAGS = $(shell test -e /usr/include/sys/timerfd.h || echo -DNO_SYS_TIMERFD_H)
-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(TIMERFD_CFLAGS)
+CFLAGS = $(RPM_OPT_FLAGS) $(DBUS_CFLAGS) $(TIMERFD_CFLAGS)
LDLIBS = -lrt -lXpm -lXext -lX11 $(DBUS_LIBS)
SOURCES = wmgeneral.c wmpomme.c \