File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 4747qhelp-to-markdown :
4848 scripts/qhelp-to-markdown.sh ql/src " $( QHELP_OUT_DIR) "
4949
50- tools : $( addsuffix $( EXE ) , $( addprefix tools/bin/, $( BINARIES ) ) ) tools/tokenizer.jar
50+ tools : tools-codeql tools/tokenizer.jar
5151
5252.PHONY : $(addsuffix $(EXE ) ,$(addprefix tools/bin/,$(BINARIES ) ) )
5353$(addsuffix $(EXE ) ,$(addprefix tools/bin/,$(BINARIES ) ) ) :
@@ -67,7 +67,10 @@ tools-osx64: $(addprefix tools/osx64/,$(BINARIES))
6767
6868.PHONY : $(addprefix tools/osx64/,$(BINARIES ) )
6969$(addprefix tools/osx64/,$(BINARIES ) ) :
70- GOOS=darwin GOARCH=amd64 go build -C extractor -mod=vendor -o ../$@ ./cli/$(@F )
70+ GOOS=darwin GOARCH=amd64 go build -C extractor -mod=vendor -o ../$@ .amd64 ./cli/$(@F )
71+ GOOS=darwin GOARCH=arm64 go build -C extractor -mod=vendor -o ../$@ .arm64 ./cli/$(@F )
72+ lipo -create $@ .amd64 $@ .arm64 -output $@
73+ rm $@ .amd64 $@ .arm64
7174
7275tools-win64 : $(addsuffix .exe,$(addprefix tools/win64/,$(BINARIES ) ) )
7376
You can’t perform that action at this time.
0 commit comments