blob: b5aaf12ea8663d78f53c8c78e69a61fda1371a61 [file] [log] [blame]
# Copyright 2016 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/toolchain/clang_toolchain_suite.gni")
clang_toolchain_suite(target_cpu) {
toolchain_cpu = target_cpu
toolchain_os = target_os
use_strip = true
# As a special case, on Fuchsia, replace --strip-all with --strip-sections.
# It is stronger, and thus generates smaller binaries, but also creates
# crashes for host binaries (e.g. https://fxbug.dev/42126969).
strip_cxx_bin_args = "--strip-sections"
}