diff options
Diffstat (limited to 'chromium/build/config/c++')
-rw-r--r-- | chromium/build/config/c++/BUILD.gn | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chromium/build/config/c++/BUILD.gn b/chromium/build/config/c++/BUILD.gn index 3845a270413..16da78b8caf 100644 --- a/chromium/build/config/c++/BUILD.gn +++ b/chromium/build/config/c++/BUILD.gn @@ -94,12 +94,7 @@ config("runtime_library") { # Make sure we don't link against the system libstdc++ or libc++. if (is_clang) { - # //build/config/android:runtime_library adds -nostdlib, which suppresses - # linking against all system libraries. -nostdlib++ would be redundant, - # and would generate an unused warning in this case. - if (!is_android) { - ldflags += [ "-nostdlib++" ] - } + ldflags += [ "-nostdlib++" ] } else { # Gcc has a built-in abs() definition with default visibility. # If it was not disabled, it would conflict with libc++'s abs() |