aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Justine Tunney <jart@google.com>2018-01-16 18:24:54 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-01-16 18:32:42 -0800
commit488d61cb3a67cc71de3d7815078a875999c23c04 (patch)
treec29c0187cb20d9f9c4c40849b3b4e9bffe3376bf
parent0a079802fd2798621678523b4ff0c8fc445c5fb3 (diff)
Make SQLite binary smaller in TensorFlow
This makes it 400kB smaller. This is worth it because even -O6 would only make SQLite 3% faster. https://www.sqlite.org/footprint.html PiperOrigin-RevId: 182143488
-rw-r--r--third_party/sqlite.BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/sqlite.BUILD b/third_party/sqlite.BUILD
index 761838d194..6da7953589 100644
--- a/third_party/sqlite.BUILD
+++ b/third_party/sqlite.BUILD
@@ -4,6 +4,7 @@
licenses(["unencumbered"]) # Public Domain
SQLITE_COPTS = [
+ "-Os",
"-DHAVE_DECL_STRERROR_R=1",
"-DHAVE_STDINT_H=1",
"-DHAVE_INTTYPES_H=1",