summaryrefslogtreecommitdiff
path: root/recipes/rp-pppoe/rp-pppoe-3.8/use-ldflags.patch
diff options
context:
space:
mode:
authorVladimir Sorokin <sorokin@altell.ru>2010-04-16 17:57:07 +0400
committerRoman I Khimov <khimov@altell.ru>2010-06-09 23:52:50 +0400
commitc20fd61ff1f25081c58317eb44e820497792842a (patch)
tree49c940c489e407387d431583e2cd8bd96697ec45 /recipes/rp-pppoe/rp-pppoe-3.8/use-ldflags.patch
parenteb768a77fb354935eb3eeca57602924122934615 (diff)
rp-pppoe: fix GNU hash QA error (force LDFLAGS)
Signed-off-by: Vladimir Sorokin <sorokin@altell.ru> Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/rp-pppoe/rp-pppoe-3.8/use-ldflags.patch')
-rw-r--r--recipes/rp-pppoe/rp-pppoe-3.8/use-ldflags.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/rp-pppoe/rp-pppoe-3.8/use-ldflags.patch b/recipes/rp-pppoe/rp-pppoe-3.8/use-ldflags.patch
new file mode 100644
index 0000000000..120963133c
--- /dev/null
+++ b/recipes/rp-pppoe/rp-pppoe-3.8/use-ldflags.patch
@@ -0,0 +1,23 @@
+--- a/src/Makefile.in 2006-04-02 18:29:42.000000000 +0400
++++ b/src/Makefile.in 2010-04-16 17:51:31.000000000 +0400
+@@ -67,16 +67,16 @@ all: $(TARGETS)
+ @echo "Type 'make install' as root to install the software."
+
+ pppoe-sniff: pppoe-sniff.o if.o common.o debug.o
+- @CC@ -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o
++ @CC@ -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o $(LDFLAGS)
+
+ pppoe-server: pppoe-server.o if.o debug.o common.o md5.o libevent/libevent.a @PPPOE_SERVER_DEPS@
+- @CC@ -o pppoe-server @RDYNAMIC@ pppoe-server.o if.o debug.o common.o md5.o $(PPPOE_SERVER_LIBS) -Llibevent -levent
++ @CC@ -o pppoe-server @RDYNAMIC@ pppoe-server.o if.o debug.o common.o md5.o $(PPPOE_SERVER_LIBS) -Llibevent -levent $(LDFLAGS)
+
+ pppoe: pppoe.o if.o debug.o common.o ppp.o discovery.o
+- @CC@ -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o
++ @CC@ -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o $(LDFLAGS)
+
+ pppoe-relay: relay.o if.o debug.o common.o
+- @CC@ -o pppoe-relay relay.o if.o debug.o common.o
++ @CC@ -o pppoe-relay relay.o if.o debug.o common.o $(LDFLAGS)
+
+ pppoe.o: pppoe.c pppoe.h
+ @CC@ $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o pppoe.o pppoe.c