From a2cbb1f267f393bc8d99e70d3d5dd7249ab9012e Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 18 Jun 2015 08:13:04 +0000 Subject: [PATCH] libnl-tiny: honor CFLAGS when linking Signed-off-by: Steven Barth SVN-Revision: 46029 --- package/libs/libnl-tiny/Makefile | 2 +- package/libs/libnl-tiny/src/Makefile | 2 +- 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 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 $@ $^ -- 2.30.2