package/rpm: add optional zstd dependency
zstd support has been in version 4.14.0 and
3684424fe2
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
94198f037c
commit
ba931a1d76
@ -92,6 +92,13 @@ ifeq ($(BR2_PACKAGE_BINUTILS),y)
|
||||
RPM_DEPENDENCIES += binutils
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZSTD),y)
|
||||
RPM_DEPENDENCIES += zstd
|
||||
RPM_CONF_OPTS += --enable-zstd
|
||||
else
|
||||
RPM_CONF_OPTS += --disable-zstd
|
||||
endif
|
||||
|
||||
# ac_cv_prog_cc_c99: RPM uses non-standard GCC extensions (ex. `asm`).
|
||||
RPM_CONF_ENV = \
|
||||
ac_cv_prog_cc_c99='-std=gnu99' \
|
||||
|
Loading…
Reference in New Issue
Block a user