summaryrefslogtreecommitdiff
path: root/meta-google/recipes-devtools/protobuf/protobuf_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-google/recipes-devtools/protobuf/protobuf_%.bbappend')
-rw-r--r--meta-google/recipes-devtools/protobuf/protobuf_%.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-google/recipes-devtools/protobuf/protobuf_%.bbappend b/meta-google/recipes-devtools/protobuf/protobuf_%.bbappend
new file mode 100644
index 000000000..b709ea4cd
--- /dev/null
+++ b/meta-google/recipes-devtools/protobuf/protobuf_%.bbappend
@@ -0,0 +1,3 @@
+# Reduces the size of the output binaries by ~300K
+CFLAGS:append:class-target = " -flto"
+CXXFLAGS:append:class-target = " -flto"