summaryrefslogtreecommitdiff
blob: 945986e45b7ec3e6967a16f0ce71e4b1f349c6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff -ur xzgv-0.9.orig/config.mk xzgv-0.9/config.mk
--- xzgv-0.9.orig/config.mk	2007-08-12 13:14:42.000000000 +0300
+++ xzgv-0.9/config.mk	2007-10-27 19:56:25.000000000 +0300
@@ -7,7 +7,7 @@
 # This is likely to be what you'll want for most systems:
 #
 CC=gcc
-CFLAGS=-O2 -Wall
+CFLAGS+=-Wall
 
 # Set the awk interpreter to use for a script used while compiling.
 # (This should be a `new' awk, such as gawk or mawk.)
diff -ur xzgv-0.9.orig/src/Makefile xzgv-0.9/src/Makefile
--- xzgv-0.9.orig/src/Makefile	2007-08-14 01:39:16.000000000 +0300
+++ xzgv-0.9/src/Makefile	2007-10-27 19:54:01.000000000 +0300
@@ -10,7 +10,7 @@
 include ../config.mk
 
 CFLAGS+=`pkg-config --cflags gtk+-2.0` `pkg-config --cflags gdk-pixbuf-2.0`
-LDFLAGS+=`pkg-config --libs gtk+-2.0` `pkg-config --libs gdk-pixbuf-2.0`
+LIBS=`pkg-config --libs gtk+-2.0` `pkg-config --libs gdk-pixbuf-2.0`
 
 all: xzgv
 
@@ -23,7 +23,7 @@
 	backend.o
 
 xzgv: $(OBJS)
-	$(CC) $(LDFLAGS) -o xzgv $(OBJS)
+	$(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o xzgv
 
 installdirs:
 	/bin/sh ../mkinstalldirs $(BINDIR)