[packages] quagga: Remove multipath caching policy patch since it is unsupported...
[openwrt/svn-archive/archive.git] / Xorg / app / gpxview / patches / 100-cross-compile.patch
1 ---
2 src/Makefile.in | 6 +++---
3 1 file changed, 3 insertions(+), 3 deletions(-)
4
5 --- gpxview-0.9.1.orig/src/Makefile.in
6 +++ gpxview-0.9.1/src/Makefile.in
7 @@ -33,15 +33,15 @@ OBJS = main.o gpx.o goto.o gps.o misc.o
8
9 DEFS = -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(prefix)\" -DICONPATH=\"$(datadir)/$(APP)/\" -DAPP=\"$(APP)\"
10 CFLAGS = -Wall -O2 $(DEFS) @CFLAGS@
11 -LDFLAGS = @LIBS@ -lz
12 +LDFLAGS = @LDFLAGS@ @LIBS@ -lz
13
14 all: $(APP)
15
16 %.o: %.c Makefile
17 - gcc $(CFLAGS) -o $@ -c $<
18 + $(CC) $(CFLAGS) -o $@ -c $<
19
20 $(APP): $(OBJS)
21 - gcc -o $@ $(OBJS) $(LDFLAGS)
22 + $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)
23
24 install:
25 install -d $(DESTDIR)$(prefix)$(bindir)