Skip to content

Commit

Permalink
no clang warn (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Sep 29, 2023
1 parent f4e5e08 commit 36920a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

.PHONY: deps all test race bin

CFLAGS := $(shell $(GO) env CFLAGS 2>/dev/null) # don't lose default
CGO_CFLAGS += -Wno-unknown-warning-option -Wno-enum-int-mismatch -Wno-strict-prototypes

MASTER_COMMIT=`git rev-parse --short origin/master`

deps: lintci-deps
Expand All @@ -19,7 +22,7 @@ lint:

lintci-deps:
rm -f ./build/bin/golangci-lint
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./build/bin v1.49.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./build/bin v1.54.2

clean:
cd mdbxdist && make clean
Expand Down

0 comments on commit 36920a7

Please sign in to comment.