d23f573482c2754f8ef21a0d350b29d6f1e1fc83
[openwrt/svn-archive/archive.git] / net / aprx / patches / 100-Makefile_in.patch
1 diff -ruN aprx-0.22.svn115.orig/Makefile.in aprx-0.22.svn115/Makefile.in
2 --- aprx-0.22.svn115.orig/Makefile.in 2008-07-06 17:28:27.000000000 -0400
3 +++ aprx-0.22.svn115/Makefile.in 2008-07-06 17:29:42.000000000 -0400
4 @@ -25,7 +25,8 @@
5 CFLAGS= @CFLAGS@ $(DEFS)
6
7 # Linker and flags
8 -LD= @LD@
9 +LD= @CC@
10 LDFLAGS= @LDFLAGS@
11 +datarootdir = @datarootdir@
12
13 INSTALL= $(srcdir)/install-sh
14 @@ -75,10 +75,10 @@
15 all: $(PROGAPRX) $(PROGSTAT) man aprx.conf
16
17 $(PROGAPRX): $(OBJSAPRX) VERSION Makefile
18 - $(LD) $(LDFLAGS) -o $@ $(OBJSAPRX) $(LIBS)
19 + $(CC) $(CFLAGS) -o $@ $(OBJSAPRX) $(LIBS)
20
21 $(PROGSTAT): $(OBJSSTAT) VERSION Makefile
22 - $(LD) $(LDFLAGS) -o $@ $(OBJSSTAT) $(LIBS)
23 + $(CC) $(CFLAGS) -o $@ $(OBJSSTAT) $(LIBS)
24
25 .PHONY: man
26 man: $(MAN)