Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > f773db03fb254acb63b6af9aded00326 > files > 6

iproute2-3.19.0-1.mga5.src.rpm

diff -Nurp iproute2-3.7.0/tc/Makefile iproute2-3.7.0-q_atm/tc/Makefile
--- iproute2-3.7.0/tc/Makefile	2012-12-11 19:52:39.000000000 +0200
+++ iproute2-3.7.0-q_atm/tc/Makefile	2013-01-06 04:20:31.072484840 +0200
@@ -132,13 +132,13 @@ clean:
 	rm -f emp_ematch.yacc.*
 
 q_atm.so: q_atm.c
-	$(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic -o q_atm.so q_atm.c -latm
+	$(CC) $(CFLAGS) $(LDFLAGS) -Wl,--undefined -shared -fpic -o q_atm.so q_atm.c -latm
 
 m_xt.so: m_xt.c
-	$(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic -o m_xt.so m_xt.c $$($(PKG_CONFIG) xtables --cflags --libs)
+	$(CC) $(CFLAGS) $(LDFLAGS) -Wl,--undefined -shared -fpic -o m_xt.so m_xt.c $$($(PKG_CONFIG) xtables --cflags --libs)
 
 m_xt_old.so: m_xt_old.c
-	$(CC) $(CFLAGS) $(LDFLAGS) -shared -fpic -o m_xt_old.so m_xt_old.c $$($(PKG_CONFIG) xtables --cflags --libs)
+	$(CC) $(CFLAGS) $(LDFLAGS) -Wl,--undefined -shared -fpic -o m_xt_old.so m_xt_old.c $$($(PKG_CONFIG) xtables --cflags --libs)
 
 em_ipset.o: CFLAGS += $$($(PKG_CONFIG) xtables --cflags)