e9818c9494
This will also fix an unsafe header path problem: /br/output/host/usr/bin/mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c -o snappy_unittest-snappy-test.o `test -f 'snappy-test.cc' || echo './'`snappy-test.cc mips-linux-gnu-g++: ERROR: unsafe header/library path used in cross-compilation: '/usr/include' Makefile:730: recipe for target 'snappy_unittest-snappy_unittest.o' failed Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20 lines
531 B
Makefile
20 lines
531 B
Makefile
################################################################################
|
|
#
|
|
# snappy
|
|
#
|
|
################################################################################
|
|
|
|
SNAPPY_VERSION = 1ff9be9b8fafc8528ca9e055646f5932aa5db9c4
|
|
SNAPPY_SITE = $(call github,google,snappy,$(SNAPPY_VERSION))
|
|
SNAPPY_LICENSE = BSD-3c
|
|
SNAPPY_LICENSE_FILES = COPYING
|
|
# from git
|
|
SNAPPY_AUTORECONF = YES
|
|
SNAPPY_DEPENDENCIES = host-pkgconf
|
|
SNAPPY_INSTALL_STAGING = YES
|
|
|
|
# Disable tests
|
|
SNAPPY_CONF_OPTS = --disable-gtest
|
|
|
|
$(eval $(autotools-package))
|