makefile abnormal
kevinbin opened this issue · 1 comments
kevinbin commented
build error
GO15VENDOREXPERIMENT="1" CGO_ENABLED=0 GOARCH=amd64 GO111MODULE=on go build -ldflags '-L/usr/local/opt/sqlite/lib -X "main.version=v1.0.7" -X "main.commit=2021-04-02 06:02:02" -X "main.date=e53e96a326a2b54e1ff2074927bad519ef914766"' -o ./bin/go-tpc cmd/go-tpc/*
command-line-arguments
flag provided but not defined: -L/usr/local/opt/sqlite/lib
normal
-L /usr/local/opt/sqlite/lib
LDFLAGS += -X "main.commit=$(shell date -u '+%Y-%m-%d %I:%M:%S')"
LDFLAGS += -X "main.date=$(shell git rev-parse HEAD)"
It's reversed?