diff options
author | Kevin Lubick <kjlubick@google.com> | 2018-02-15 09:45:58 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-15 15:04:39 +0000 |
commit | 5798c9fe57fc62bde91e9b6a9d0f6c73ead710ce (patch) | |
tree | a5574453bd769c92b36e95220051ec0665b6ef9f /gn | |
parent | 93c72502f218f9c4ba6764f65401a35369e200e0 (diff) |
Fix Android ASAN build
Android+ASAN was already using libc++, so don't confuse it with the host
library.
Bug: skia:
Change-Id: Ibdeb40007f9d346a84adb39de240299049c0c55e
Reviewed-on: https://skia-review.googlesource.com/107721
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/BUILD.gn | 2 |
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++" ] } |