2018-03-23 19:59:39 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# brotli
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-10-25 01:38:23 +02:00
|
|
|
BROTLI_VERSION = 1.0.7
|
2018-03-23 19:59:39 +01:00
|
|
|
BROTLI_SOURCE = v$(BROTLI_VERSION).tar.gz
|
|
|
|
BROTLI_SITE = https://github.com/google/brotli/archive
|
|
|
|
BROTLI_LICENSE = MIT
|
|
|
|
BROTLI_LICENSE_FILES = LICENSE
|
|
|
|
BROTLI_INSTALL_STAGING = YES
|
|
|
|
BROTLI_CONF_OPTS = \
|
|
|
|
-DBROTLI_DISABLE_TESTS=ON \
|
|
|
|
-DBROTLI_BUNDLED_MODE=OFF
|
|
|
|
|
2019-06-14 11:43:28 +02:00
|
|
|
BROTLI_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
|
2019-05-27 23:38:23 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
|
2019-06-14 11:43:28 +02:00
|
|
|
BROTLI_CFLAGS += -O0
|
2019-05-27 23:38:23 +02:00
|
|
|
endif
|
|
|
|
|
2019-06-14 11:43:28 +02:00
|
|
|
BROTLI_CONF_OPTS += -DCMAKE_C_FLAGS="$(BROTLI_CFLAGS)"
|
|
|
|
|
2018-03-23 19:59:39 +01:00
|
|
|
$(eval $(cmake-package))
|