summaryrefslogtreecommitdiffstats
path: root/archive-libs/snappy/BUILD
diff options
context:
space:
mode:
authorTreeve Jelbert2021-06-02 12:53:41 +0200
committerTreeve Jelbert2021-06-02 12:53:41 +0200
commitcd056249c464e238d5dabf93aa2f4571fc424a21 (patch)
tree98e134f86127b0c666b7224f3c5b8527a7cf3874 /archive-libs/snappy/BUILD
parent8622c43a1957adb3e3e75c202bf75c8308981e95 (diff)
snappy - fix build with gcc-11
Diffstat (limited to 'archive-libs/snappy/BUILD')
-rwxr-xr-xarchive-libs/snappy/BUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/archive-libs/snappy/BUILD b/archive-libs/snappy/BUILD
index c17ba01e16..38e74b8388 100755
--- a/archive-libs/snappy/BUILD
+++ b/archive-libs/snappy/BUILD
@@ -1,3 +1,7 @@
+CXXFLAGS+=" -Wno-ignored-attributes" &&
+CXXFLAGS+=" -Wno-attributes" &&
+
+
OPTS+=" -DBUILD_SHARED_LIBS=1" &&
OPTS+=" -DSNAPPY_BUILD_TESTS=off" &&
OPTS+=" -DSNAPPY_BUILD_BENCHMARKS=off" &&