2025-01-13 18:38:58 +08:00
|
|
|
# Copyright 2014 The Chromium Authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
|
2025-01-16 11:03:48 +08:00
|
|
|
import("//build/toolchain/gcc.gni")
|
2025-01-13 18:38:58 +08:00
|
|
|
|
2025-01-16 11:03:48 +08:00
|
|
|
# 使用模板定义编译工具链
|
|
|
|
gcc_toolchain(board_toolchain){
|
|
|
|
cc = current_cc_command
|
|
|
|
cxx = current_cxx_command
|
|
|
|
ar = current_ar_command
|
|
|
|
ld = current_ld_command
|
|
|
|
strip = current_strip_command
|
2025-01-13 18:38:58 +08:00
|
|
|
}
|