openwrtv4/package/network/utils/iproute2/patches/120-libnetlink-pic.patch

12 lines
296 B
Diff
Raw Normal View History

--- a/lib/Makefile
+++ b/lib/Makefile
@@ -12,7 +12,7 @@ ifeq ($(HAVE_MNL),y)
CFLAGS += -DHAVE_LIBMNL $(shell $(PKG_CONFIG) libmnl --cflags)
endif
-CFLAGS += -fPIC
+CFLAGS += $(FPIC)
UTILOBJ = utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o \
inet_proto.o namespace.o json_writer.o \