Commit 11b831ec authored by Hans Wennborg's avatar Hans Wennborg Committed by Commit Bot

usrsctp: Suppress new -Wpragma-pack clang warning

Suppress the warning while we fix upstream.

BUG=749197

Change-Id: Id8c38757f9e9383819a8dc8a5f04e859a0e812af
Reviewed-on: https://chromium-review.googlesource.com/592086
Commit-Queue: Hans Wennborg <hans@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490616}
parent 8971f74f
...@@ -2,11 +2,19 @@ ...@@ -2,11 +2,19 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
import("//build/toolchain/toolchain.gni")
config("usrsctp_config") { config("usrsctp_config") {
include_dirs = [ include_dirs = [
"usrsctplib/usrsctplib", "usrsctplib/usrsctplib",
"usrsctplib/usrsctplib/netinet", "usrsctplib/usrsctplib/netinet",
] ]
if (is_clang && llvm_force_head_revision) {
cflags = [
# TODO(hans): https://crbug.com/749197
"-Wno-pragma-pack",
]
}
} }
config("usrsctp_warnings") { config("usrsctp_warnings") {
......
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