summaryrefslogtreecommitdiff
blob: ee42f50541e1f545add1432c9e26ff35f13c7bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -ur suxpanel-0.4b.orig/Makefile.in suxpanel-0.4b/Makefile.in
--- suxpanel-0.4b.orig/Makefile.in	2005-07-21 19:06:25.000000000 +0300
+++ suxpanel-0.4b/Makefile.in	2008-02-18 22:21:37.000000000 +0200
@@ -1,7 +1,7 @@
 # ----------------------------------------------------------------------------
 
-CC = gcc
-CFLAGS = -Wall $(GTK_CFLAGS) -O2 -g
+CC ?= gcc
+CFLAGS += -Wall $(GTK_CFLAGS)
 
 # ----------------------------------------------------------------------------
 
@@ -15,7 +15,7 @@
 
 %.so: %.c 
 	@echo "compile module: $< ($@)"
-	$(CC) $(CFLAGS) -o $@ -shared $< $(GTK_CFLAGS) $(GTK_LIBS) \
+	$(CC) $(CFLAGS) -o $@ -shared -fPIC $< $(GTK_CFLAGS) $(GTK_LIBS) \
             $(WNCK_LIBS) $(WNCK_CFLAGS)
 
 clean: