From 79194756ad4c9dba9c5588778f2e6caeddd75023 Mon Sep 17 00:00:00 2001 From: choirudin2210 Date: Fri, 15 Jul 2022 09:07:46 +0700 Subject: [PATCH] fix Warning and note in sqlite3-binding.c --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5299b8c..19f7a0f 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ arch = amd64 build: @echo "Making gocommerce for $(os)/$(arch)" - GOOS=$(os) GOARCH=$(arch) go build -ldflags "-X github.com/netlify/gocommerce/cmd.Version=`git rev-parse HEAD`" + GOOS=$(os) GOARCH=$(arch) CGO_CFLAGS="-g -O2 -Wno-return-local-addr" go build -ldflags "-X github.com/netlify/gocommerce/cmd.Version=`git rev-parse HEAD`" build_linux: override os=linux build_linux: build