diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2022-03-29 16:32:25 +0300 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2022-05-18 13:32:06 +0300 |
commit | 6300313deed3688c86cf5633ada439f09e8bcbfd (patch) | |
tree | fca4f62eb0777586bdb89cb01abf2ddaf52b26eb /include/kernel.mk | |
parent | b998287b9193bf74631dbb2cbfff72babd3bcd0c (diff) | |
download | upstream-6300313deed3688c86cf5633ada439f09e8bcbfd.tar.gz upstream-6300313deed3688c86cf5633ada439f09e8bcbfd.tar.bz2 upstream-6300313deed3688c86cf5633ada439f09e8bcbfd.zip |
build: use KBUILD_HOSTLDFLAGS
According to the GNU make manual, specifying library paths should be
done in LDFLAGS rather than LDLIBS. Replace KBUILD_HOSTLDLIBS with
KBUILD_HOSTLDFLAGS to pass the host lib directory.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'include/kernel.mk')
-rw-r--r-- | include/kernel.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk index f27b78bbcc..01b737f132 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -110,7 +110,7 @@ KERNEL_MAKE_FLAGS = \ KBUILD_BUILD_HOST="$(call qstrip,$(CONFIG_KERNEL_BUILD_DOMAIN))" \ KBUILD_BUILD_TIMESTAMP="$(KBUILD_BUILD_TIMESTAMP)" \ KBUILD_BUILD_VERSION="0" \ - KBUILD_HOSTLDLIBS="-L$(STAGING_DIR_HOST)/lib" \ + KBUILD_HOSTLDFLAGS="-L$(STAGING_DIR_HOST)/lib" \ CONFIG_SHELL="$(BASH)" \ $(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \ $(if $(PKG_BUILD_ID),LDFLAGS_MODULE=--build-id=0x$(PKG_BUILD_ID)) \ |