diff options
author | Bert Belder <bertbelder@gmail.com> | 2019-09-06 18:43:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-06 18:43:48 -0700 |
commit | 699d2ae4bb59babdbd73144635ed4a41869253ce (patch) | |
tree | 207a270e78a4f573e8f8822163e45b4297160a39 | |
parent | acaff6d05622ec54b37b7f378c2d2b2f723ba8d5 (diff) |
build: on windows, don't pass -glldb to clang (#2874)
-rw-r--r-- | core/libdeno/BUILD.gn | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/libdeno/BUILD.gn b/core/libdeno/BUILD.gn index 6bbda98c5..2eb0b7128 100644 --- a/core/libdeno/BUILD.gn +++ b/core/libdeno/BUILD.gn @@ -24,9 +24,10 @@ config("deno_config") { "-fcolor-diagnostics", "-fansi-escape-codes", ] - if (is_debug) { - cflags += [ "-glldb" ] - } + } + + if (is_debug && is_clang && !is_win) { + cflags += [ "-glldb" ] } if (is_win) { |