build: set GOOS=linux by default

This commit is contained in:
Yousong Zhou
2020-02-26 11:36:48 +08:00
parent f3558f7b91
commit 1fd6db15d6
+1
View File
@@ -51,6 +51,7 @@ ifdef LIBQEMUIO_PATH
X_CGO_LDFLAGS := ${CGO_LDFLAGS_ENV} -laio -lqemuio -lpthread -L ${LIBQEMUIO_PATH}/src
endif
export GOOS ?= linux
export GO111MODULE:=on
export CGO_CFLAGS = ${X_CGO_CFLAGS}
export CGO_LDFLAGS = ${X_CGO_LDFLAGS}