diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2015-07-14 13:31:11 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-14 13:55:13 +0200 |
commit | e9818c94945bb882e0544d452d1d789d3fecfc57 (patch) | |
tree | 1b630ecefe19b174ac120090fc21970254ff87ef | |
parent | f8e1c0ca47fd0b23964580389ffb9a063b9a851a (diff) | |
download | buildroot-e9818c94945bb882e0544d452d1d789d3fecfc57.tar.gz buildroot-e9818c94945bb882e0544d452d1d789d3fecfc57.zip |
snappy: disable tests
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>
-rw-r--r-- | package/snappy/snappy.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/snappy/snappy.mk b/package/snappy/snappy.mk index 6bda7ce854..b00dddf6cf 100644 --- a/package/snappy/snappy.mk +++ b/package/snappy/snappy.mk @@ -13,4 +13,7 @@ SNAPPY_AUTORECONF = YES SNAPPY_DEPENDENCIES = host-pkgconf SNAPPY_INSTALL_STAGING = YES +# Disable tests +SNAPPY_CONF_OPTS = --disable-gtest + $(eval $(autotools-package)) |