diff options
Diffstat (limited to 'package/rpm/rpm.mk')
-rw-r--r-- | package/rpm/rpm.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/rpm/rpm.mk b/package/rpm/rpm.mk index 74f5b888e..68d964afc 100644 --- a/package/rpm/rpm.mk +++ b/package/rpm/rpm.mk @@ -44,11 +44,12 @@ else RPM_CONF_OPTS += --with-file=no endif -ifeq ($(BR2_PACKAGE_RPM_XZ_PAYLOADS),y) +# xz payload support needs a toolchain w/ C++ +ifeq ($(BR2_PACKAGE_XZ)$(BR2_INSTALL_LIBSTDCPP),yy) RPM_CONF_OPTS += --with-xz endif -ifeq ($(BR2_PACKAGE_RPM_BZIP2_PAYLOADS),y) +ifeq ($(BR2_PACKAGE_BZIP2),y) RPM_CONF_OPTS += --with-bzip2 RPM_DEPENDENCIES += bzip2 endif |