libnl-tiny: honor CFLAGS when linking

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46029
This commit is contained in:
Steven Barth
2015-06-18 08:13:04 +00:00
parent 63cb31d9ec
commit 6e3b087de8
2 changed files with 2 additions and 2 deletions

View File

@@ -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 $@ $^