aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn5
1 files changed, 4 insertions, 1 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index 5d6a82ae38..24807d89b5 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -331,7 +331,10 @@ config("release") {
if (is_win) {
cflags = [ "/O2" ]
} else {
- cflags = [ "-O3" ]
+ cflags = [
+ "-O3",
+ "-momit-leaf-frame-pointer",
+ ]
}
defines = [ "NDEBUG" ]
}