aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index 7c35f71899..c737dd931c 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -249,6 +249,8 @@ config("default") {
]
if (!is_win) {
cflags += [ "-fno-omit-frame-pointer" ]
+ }
+ if (is_linux) {
cflags_cc += [ "-stdlib=libc++" ]
ldflags += [ "-stdlib=libc++" ]
}