summaryrefslogtreecommitdiff
blob: 8d29f976311a8fe9bea9b7118e2405ca69310c21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -ru pommed-1.20~/pommed/Makefile pommed-1.20/pommed/Makefile
--- pommed-1.20~/pommed/Makefile	2008-06-28 12:48:04.000000000 +0200
+++ pommed-1.20/pommed/Makefile	2008-06-28 13:04:15.000000000 +0200
@@ -16,7 +16,7 @@
 
 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 -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS)
 
@@ -50,6 +50,7 @@
 
 	CFLAGS += $(LIBPCI_CFLAGS)
 	LDFLAGS += $(LIBPCI_LIBS)
+	LIBS = $(LIBPCI_LIBS)
 else
 	LIBS = /usr/lib/libpci.a
 	LDFLAGS += -lz