]> git.pld-linux.org Git - packages/iproute2.git/blobdiff - iproute2-LDFLAGS.patch
- updated URL
[packages/iproute2.git] / iproute2-LDFLAGS.patch
index 852699437b94b963a553cd1e73f8a6e16e768716..29eac28817c1744d3aef8d6e2380cff18482a551 100644 (file)
@@ -1,19 +1,3 @@
-diff -ur iproute2-2.6.18-061002.org/genl/Makefile iproute2-2.6.18-061002/genl/Makefile
---- iproute2-2.6.18-061002.org/genl/Makefile   2006-10-02 22:13:34.000000000 +0200
-+++ iproute2-2.6.18-061002/genl/Makefile       2006-10-03 09:09:13.940918661 +0200
-@@ -9,11 +9,10 @@
- GENLLIB :=
--LDFLAGS += -Wl,-export-dynamic -lm -ldl
--
- all: genl
- genl: $(GENLOBJ) $(LIBNETLINK) $(LIBUTIL) $(GENLLIB)
-+      $(LD) $(LDFLAGS) $(CFLAGS) -Wl,-export-dynamic -o $@ $^ $(LDLIBS) -lm -ldl
- install: all
-       install -m 0755 -s genl $(DESTDIR)$(SBINDIR)
 diff -ur iproute2-2.6.18-061002.org/netem/Makefile iproute2-2.6.18-061002/netem/Makefile
 --- iproute2-2.6.18-061002.org/netem/Makefile  2006-10-02 22:13:34.000000000 +0200
 +++ iproute2-2.6.18-061002/netem/Makefile      2006-10-03 09:00:45.533018231 +0200
@@ -26,36 +10,4 @@ diff -ur iproute2-2.6.18-061002.org/netem/Makefile iproute2-2.6.18-061002/netem/
  
  %.dist: %
        ./$* > $@
-diff -ur iproute2-2.6.18-061002.org/tc/Makefile iproute2-2.6.18-061002/tc/Makefile
---- iproute2-2.6.18-061002.org/tc/Makefile     2006-10-02 22:13:34.000000000 +0200
-+++ iproute2-2.6.18-061002/tc/Makefile 2006-10-03 09:00:45.533018231 +0200
-@@ -52,18 +52,17 @@
- LDLIBS += -L. -ltc -lm -ldl
--LDFLAGS += -Wl,-export-dynamic
--
- YACC := bison
- LEX := flex
- %.so: %.c
--      $(CC) $(CFLAGS) -shared -fpic $< -o $@
-+      $(CC) $(LDFLAGS) $(CFLAGS) -shared -fpic $< -o $@
- all: libtc.a tc $(TCSO)
- tc: $(TCOBJ) $(LIBNETLINK) $(LIBUTIL) $(TCLIB)
-+      $(LD) $(LDFLAGS) $(CFLAGS) -Wl,-export-dynamic -o $@ $^ $(LDLIBS)
- libtc.a: $(TCLIB)
-       $(AR) rcs $@ $(TCLIB)
-@@ -80,7 +79,7 @@
-       rm -f emp_ematch.yacc.output
- q_atm.so: q_atm.c
--      $(CC) $(CFLAGS) -shared -fpic -o q_atm.so q_atm.c -latm
-+      $(CC) $(LDFLAGS) $(CFLAGS) -shared -fpic -o q_atm.so q_atm.c -latm
- %.yacc.c: %.y
-       $(YACC) $(YACCFLAGS) -o $@ $<
+
This page took 0.045467 seconds and 4 git commands to generate.