Skip to content

Commit

Permalink
add gnu option for build flag
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <kpango@vdaas.org>
  • Loading branch information
kpango committed Jan 18, 2021
1 parent 3fc434b commit bcfcd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.d/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ cmd/agent/core/ngt/ngt: \
GOPRIVATE=$(GOPRIVATE) \
go build \
--ldflags "-s -w -linkmode 'external' \
-extldflags '-static -fPIC -pthread -fopenmp -std=c++20 -lstdc++ -lm $(EXTLDFLAGS)' \
-extldflags '-static -fPIC -pthread -fopenmp -std=gnu++20 -lstdc++ -lm $(EXTLDFLAGS)' \
-X '$(GOPKG)/internal/info.Version=$(VERSION)' \
-X '$(GOPKG)/internal/info.GitCommit=$(GIT_COMMIT)' \
-X '$(GOPKG)/internal/info.BuildTime=$(DATETIME)' \
Expand Down

0 comments on commit bcfcd1d

Please sign in to comment.