1// Copyright 2018 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5//go:build gccgo
6// +build gccgo
7
8package build
9
10import "runtime"
11
12// getToolDir returns the default value of ToolDir.
13func getToolDir() string {
14	return envOr("GCCGOTOOLDIR", runtime.GCCGOTOOLDIR)
15}
16