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