Chromium Code Reviews| Index: build/config/compiler/BUILD.gn |
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
| index b05a8d746d8c5f0e2b9c84c2b3a16754672e65ef..ddf4044a55e6b6b3ba2b35f2256b083024bd789c 100644 |
| --- a/build/config/compiler/BUILD.gn |
| +++ b/build/config/compiler/BUILD.gn |
| @@ -169,6 +169,8 @@ config("compiler") { |
| configs += [ "//build/config/mac:compiler" ] |
| } else if (is_ios) { |
| configs += [ "//build/config/ios:compiler" ] |
| + } else if (is_fuchsia) { |
| + configs += [ "//build/config/fuchsia:compiler" ] |
| } else if (current_os == "aix") { |
| configs += [ "//build/config/aix:compiler" ] |
| } |
| @@ -309,7 +311,7 @@ config("compiler") { |
| # Linux/Android common flags setup. |
| # --------------------------------- |
| - if (is_linux || is_android) { |
| + if (is_linux || is_android || is_fuchsia) { |
| if (use_pic) { |
| cflags += [ "-fPIC" ] |
| ldflags += [ "-fPIC" ] |
| @@ -339,7 +341,6 @@ config("compiler") { |
| "-lpthread", |
| ] |
| } |
| - ldflags += [ "-Wl,--as-needed" ] |
|
Nico
2017/05/11 17:43:37
Removing this probably wasn't intentional
|
| } |
| } |