repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

pico / scripts
Antonio Mika · 31 Aug 22

gccwrap.sh

1#!/bin/bash
2
3if [[ "$GOARCH" == "arm64" ]]; then
4	GCC_ARCH="aarch64"
5elif [[ "$GOARCH" == "amd64" ]]; then
6	GCC_ARCH="x86_64"
7fi
8
9exec "${GCC_ARCH}-linux-gnu-gcc" "$@"