Commit d995005d authored by Mirko Bonadei's avatar Mirko Bonadei Committed by Commit Bot

Fixing clang-cl 'unknown argument error'.

Bug: webrtc:8821
Change-Id: I491118ef06695897f001a27ccd296501cf6b72d7
Reviewed-on: https://chromium-review.googlesource.com/1011608Reviewed-by: default avatarPatrik Höglund <phoglund@chromium.org>
Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550552}
parent 45bfb66a
...@@ -151,6 +151,10 @@ config("absl_test_cflags_cc") { ...@@ -151,6 +151,10 @@ config("absl_test_cflags_cc") {
config("absl_exceptions_cflags_cc") { config("absl_exceptions_cflags_cc") {
cflags_cc = [ cflags_cc = [
"-fexceptions", # Enable exception handling.
# It seems clang-cl does not support -fexception. Using the MSVC flag
# fixes the problem.
# "-fexceptions",
"/GX",
] ]
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment