From a95410107e067559db6db11266ff17a7590e0e32 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sat, 6 Aug 2022 01:16:50 +0200 Subject: zshenv: support GOARCH=arm64, don't set GOARCH on unsupported arch --- .zsh/zshenv/80_go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.zsh/zshenv/80_go') diff --git a/.zsh/zshenv/80_go b/.zsh/zshenv/80_go index b245430..49df466 100644 --- a/.zsh/zshenv/80_go +++ b/.zsh/zshenv/80_go @@ -16,14 +16,13 @@ if [ -d $_GOROOT ] ; then case "$arch" in x86_64) export GOARCH="amd64";; i*86) export GOARCH="386";; - *) export GOARCH="unsupported";; + arm64) export GOARCH="arm64";; esac os="$(uname)" case "$os" in Linux) export GOOS="linux";; Darwin) export GOOS="darwin";; - *) export GOOS="unsupported";; esac path_prepend $_GOROOT/bin -- cgit v1.2.3-54-g00ecf m method='get'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2017-02-03net: Introduce ife encapsulation moduleYotam Gigi9-0/+242
2017-02-03net/sched: act_ife: Unexport ife_tlv_meta_encodeYotam Gigi2-4/+2
2017-02-03tcp: add tcp_mss_clamp() helperEric Dumazet5-23/+17
2017-02-03hns_enet: use cpumask_var_t for on-stack maskArnd Bergmann