From 20ed7df89430c238ec959496cbcc3ec1bd984af7 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Sat, 25 Feb 2023 19:05:13 -0800 Subject: [PATCH] Makefile: set GOOS,GOARCH defaults to kill warning --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 2abae85..ba0b11d 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,10 @@ VERSION ?= $(shell git describe --tags --always --dirty) # This version-strategy uses a manual value to set the version string #VERSION ?= 1.2.3 +# Set these to cross-compile. +GOOS ?= +GOARCH ?= + # Set this to 1 to build a debugger-friendly binary. DBG ?=