diff options
author | Philip Prindeville <philipp@redfish-solutions.com> | 2021-03-19 17:09:26 -0600 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-04-12 20:45:29 +0200 |
commit | 46362c48c8c6e4df9d117a4a42083760bec454d8 (patch) | |
tree | c9ce8743bb9edf54aae1c8e2bcdc11187906649f | |
parent | 121f2461e5d46c72ed5599d5ae4e940859228352 (diff) | |
download | upstream-46362c48c8c6e4df9d117a4a42083760bec454d8.tar.gz upstream-46362c48c8c6e4df9d117a4a42083760bec454d8.tar.bz2 upstream-46362c48c8c6e4df9d117a4a42083760bec454d8.zip |
libnfnetlink: quote $(FPIC) on command line
When $(FPIC) gets expanded on the command line (for instance
when setting environment variables for libtool, configure, or
make) we can't count on it not needing quoting (i.e. it could
contain multiple flags separated with spaces).
Fixes: dc31191ec3e5 ("build: make sure asm gets built with -DPIC")
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit 7fae64cc065738b73a1dddc2fc28adde36c1ae3d)
-rw-r--r-- | package/libs/libnfnetlink/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libs/libnfnetlink/Makefile b/package/libs/libnfnetlink/Makefile index 7d65d63857..bc64ff111d 100644 --- a/package/libs/libnfnetlink/Makefile +++ b/package/libs/libnfnetlink/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libnfnetlink PKG_VERSION:=1.0.1 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:= \ @@ -45,7 +45,7 @@ CONFIGURE_ARGS += \ --enable-shared CONFIGURE_VARS += \ - lt_prog_compiler_pic=$(FPIC) + lt_prog_compiler_pic="$(FPIC)" define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/libnfnetlink |