Files
buildroot/package/snappy/snappy.mk
Bernd Kuhls 3a795fa19a package/snappy: enable rtti
Added patch to enable rtti, needed for upcoming bump of rocksdb to fix
link error:

output/per-package/rocksdb/host/bin/../lib/gcc/x86_64-buildroot-linux-
gnu/15.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld:
 librocksdb.so.10.7.5: undefined reference to `typeinfo for snappy::Sink'

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-05-30 15:48:42 +02:00

19 lines
513 B
Makefile

################################################################################
#
# snappy
#
################################################################################
SNAPPY_VERSION = 1.2.2
SNAPPY_SITE = $(call github,google,snappy,$(SNAPPY_VERSION))
SNAPPY_LICENSE = BSD-3-Clause
SNAPPY_LICENSE_FILES = COPYING
SNAPPY_CPE_ID_VENDOR = google
SNAPPY_INSTALL_STAGING = YES
SNAPPY_CONF_OPTS = \
-DSNAPPY_BUILD_BENCHMARKS=OFF \
-DSNAPPY_BUILD_TESTS=OFF \
-DSNAPPY_ENABLE_RTTI=ON
$(eval $(cmake-package))