Set flags to reduce file sizes
authorMatthew Leibowitz <mattleibow@live.com>
Sun, 22 Jul 2018 00:02:18 +0000 (02:02 +0200)
committerMatthew Leibowitz <mattleibow@live.com>
Sun, 22 Jul 2018 00:02:18 +0000 (02:02 +0200)
gn/BUILD.gn

index 52f1aba..dcb3481 100644 (file)
@@ -481,7 +481,7 @@ config("release") {
     if (is_mac || is_ios) {
       ldflags = [ "-dead_strip" ]
     } else {
-      ldflags = [ "-Wl,--gc-sections" ]
+      ldflags = [ "-s", "-Wl,--gc-sections" ]
     }
   }
   defines = [ "NDEBUG" ]