SHA256
1
0
forked from pool/pommed
pommed/pommed-1.15-optflags.patch

40 lines
1.8 KiB
Diff
Raw Normal View History

Index: gpomme/Makefile
===================================================================
--- gpomme/Makefile.orig 2007-12-01 12:51:32.000000000 +0100
+++ gpomme/Makefile 2008-02-24 21:49:43.000000000 +0100
@@ -14,7 +14,7 @@ CONFUSE_LIBS = $(shell pkg-config libcon
INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H)
-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS)
+CFLAGS += -g -Wall $(DBUS_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS)
LDFLAGS = -lpthread $(DBUS_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS)
SOURCES = gpomme.c theme.c conffile.c \
Index: pommed/Makefile
===================================================================
--- pommed/Makefile.orig 2007-12-19 22:35:58.000000000 +0100
+++ pommed/Makefile 2008-02-24 21:49:22.000000000 +0100
@@ -16,7 +16,7 @@ CONFUSE_LIBS = $(shell pkg-config libcon
INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H)
-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
+CFLAGS += -g -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS)
LDFLAGS = -pthread $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
Index: wmpomme/Makefile
===================================================================
--- wmpomme/Makefile.orig 2007-11-27 17:38:21.000000000 +0100
+++ wmpomme/Makefile 2008-02-24 21:48:32.000000000 +0100
@@ -3,7 +3,7 @@ CC = gcc
DBUS_CFLAGS = $(shell pkg-config dbus-1 --cflags) -DDBUS_API_SUBJECT_TO_CHANGE
DBUS_LIBS = $(shell pkg-config dbus-1 --libs)
-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS)
+CFLAGS += -g -Wall $(DBUS_CFLAGS)
LDFLAGS = -lXpm -lXext -lX11 $(DBUS_LIBS)
SOURCES = wmgeneral.c wmpomme.c \