| Index: third_party/libc++/BUILD.gn
|
| diff --git a/third_party/libc++/BUILD.gn b/third_party/libc++/BUILD.gn
|
| index 45fba8bf428dc738000418357d5e7e412b39d09e..a3c4ec26329368c29cc24c96bf8b9f8f8115483b 100644
|
| --- a/third_party/libc++/BUILD.gn
|
| +++ b/third_party/libc++/BUILD.gn
|
| @@ -67,9 +67,10 @@ shared_library("libc++") {
|
|
|
| ldflags = [ "-nodefaultlibs" ]
|
|
|
| - # TODO(GYP): Remove "-pthread" from ldflags.
|
| + # Remove "-pthread" from ldflags.
|
| # -nodefaultlibs turns -pthread into a no-op, causing an unused argument
|
| # warning. Explicitly link with -lpthread instead.
|
| + configs -= [ "//build/config/compiler:pthread" ]
|
|
|
| libs = [
|
| "m",
|
|
|