aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-06-18 08:13:04 +0000
committerSteven Barth <steven@midlink.org>2015-06-18 08:13:04 +0000
commite6b1c13b55acd39905f2d128a71c036286b710f3 (patch)
tree24e0bfdcfb9f672f26291b5cffc20c3d3ddccb52 /package
parent21afdb99ab2190a26c716a451d07af46d2cd74ed (diff)
downloadmaster-187ad058-e6b1c13b55acd39905f2d128a71c036286b710f3.tar.gz
master-187ad058-e6b1c13b55acd39905f2d128a71c036286b710f3.tar.bz2
master-187ad058-e6b1c13b55acd39905f2d128a71c036286b710f3.zip
libnl-tiny: honor CFLAGS when linking
Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46029 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/libs/libnl-tiny/Makefile2
-rw-r--r--package/libs/libnl-tiny/src/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/libs/libnl-tiny/Makefile b/package/libs/libnl-tiny/Makefile
index 2445ad440b..33a4758252 100644
--- a/package/libs/libnl-tiny/Makefile
+++ b/package/libs/libnl-tiny/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libnl-tiny
PKG_VERSION:=0.1
-PKG_RELEASE:=4
+PKG_RELEASE:=5
PKG_LICENSE:=LGPL-2.1
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
diff --git a/package/libs/libnl-tiny/src/Makefile b/package/libs/libnl-tiny/src/Makefile
index 4d090b35ec..6f37160a8c 100644
--- a/package/libs/libnl-tiny/src/Makefile
+++ b/package/libs/libnl-tiny/src/Makefile
@@ -14,4 +14,4 @@ LIBNL_OBJ=nl.o handlers.o msg.o attr.o cache.o cache_mngt.o object.o socket.o er
GENL_OBJ=genl.o genl_family.o genl_ctrl.o genl_mngt.o unl.o
$(LIBNAME): $(LIBNL_OBJ) $(GENL_OBJ)
- $(CC) -Wl,-Bsymbolic-functions -shared -o $@ $^
+ $(CC) $(CFLAGS) -Wl,-Bsymbolic-functions -shared -o $@ $^