summaryrefslogtreecommitdiffstats
path: root/package/lvm2
diff options
context:
space:
mode:
authorJordan Yelloz <jordan@yelloz.me>2016-12-12 10:13:54 -0800
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-17 16:05:17 +0100
commitecd5e7ca72bde586caa4bee4b18807454c81b44d (patch)
treef8d15a40a8adea0a2e81133514c43e3bf8abf165 /package/lvm2
parent06a3e83b9a28d35ac6172854bebf20edb958da09 (diff)
downloadbuildroot-ecd5e7ca72bde586caa4bee4b18807454c81b44d.tar.gz
buildroot-ecd5e7ca72bde586caa4bee4b18807454c81b44d.zip
lvm2: ensured TARGET_AR is used during build
The same way TARGET_CC was not being used during the build, TARGET_AR was not used either. Now TARGET_CONFIGURE_OPTS is injected into LVM2_MAKE_ENV which should include all the toolchain substitutions. Signed-off-by: Jordan Yelloz <jordan@yelloz.me> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lvm2')
-rw-r--r--package/lvm2/lvm2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index ae9581caae..a2d484bc25 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -20,8 +20,8 @@ LVM2_CONF_OPTS += \
--enable-dmeventd
# LVM2 uses autoconf, but not automake, and the build system does not
-# take into account the CC passed at configure time.
-LVM2_MAKE_ENV = CC="$(TARGET_CC)"
+# take into account the toolchain passed at configure time.
+LVM2_MAKE_ENV = $(TARGET_CONFIGURE_OPTS)
ifeq ($(BR2_PACKAGE_READLINE),y)
LVM2_DEPENDENCIES += readline
OpenPOWER on IntegriCloud