xmtop/scripts/makeDarwin.sh

12 lines
216 B
Bash
Raw Permalink Normal View History

2020-04-23 02:33:51 +08:00
#!/bin/bash
GOOS=darwin
GOARCH=amd64
CGO_ENABLED=1
MACOSX_DEPLOYMENT_TARGET=10.10.0
CC=o64-clang
CXX=o64-clang++
export GOOS GOARCH CGO_ENABLED MACOSX_DEPLOYMENT_TARGET CC CXX
go build -o gotop.darwin ./cmd/gotop