777bbd1b07
Contains fixes for overflows when input chunks are larger than 2 GiB, an uninitialized data access, and minor correctness and performance improvements. There does not seem to be any CVEs filed, but there is a security notice in the release notes at: https://github.com/google/brotli/releases/tag/v1.0.9 Patch "0001-CMake-Allow-using-BUILD_SHARED_LIBS-to-choose-static.patch" is rebased against the latest upstream changes. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
26 lines
642 B
Makefile
26 lines
642 B
Makefile
################################################################################
|
|
#
|
|
# brotli
|
|
#
|
|
################################################################################
|
|
|
|
BROTLI_VERSION = 1.0.9
|
|
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
|
|
|
|
BROTLI_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
|
|
BROTLI_CFLAGS += -O0
|
|
endif
|
|
|
|
BROTLI_CONF_OPTS += -DCMAKE_C_FLAGS="$(BROTLI_CFLAGS)"
|
|
|
|
$(eval $(cmake-package))
|