mirror of
https://github.com/flatcar/scripts.git
synced 2026-03-25 15:21:50 +01:00
build_library/toolchain_util.sh: Quiet the deprecation warning
The warning was: gcc-config: the --nocolor option is deprecated by gentoo-functions; please set NO_COLOR=1 instead Probably started showing up after the recent update of gentoo-functions. Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
parent
ace4543e3a
commit
d7cf877ee2
@ -493,7 +493,7 @@ gcc_get_latest_profile() {
|
||||
local prefix=${1}
|
||||
local suffix=${2+-${2}}
|
||||
local status
|
||||
gcc-config --list-profiles --nocolor | \
|
||||
NO_COLOR=1 gcc-config --list-profiles | \
|
||||
sed -e 's/^\s*//' | \
|
||||
cut -d' ' -f2 | \
|
||||
grep "^${prefix}-[0-9\\.]*${suffix}$" | \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user