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 47
47
qhelp-to-markdown :
48
48
scripts/qhelp-to-markdown.sh ql/src " $( QHELP_OUT_DIR) "
49
49
50
- tools : $( addsuffix $( EXE ) , $( addprefix tools/bin/, $( BINARIES ) ) ) tools/tokenizer.jar
50
+ tools : tools-codeql tools/tokenizer.jar
51
51
52
52
.PHONY : $(addsuffix $(EXE ) ,$(addprefix tools/bin/,$(BINARIES ) ) )
53
53
$(addsuffix $(EXE ) ,$(addprefix tools/bin/,$(BINARIES ) ) ) :
@@ -67,7 +67,10 @@ tools-osx64: $(addprefix tools/osx64/,$(BINARIES))
67
67
68
68
.PHONY : $(addprefix tools/osx64/,$(BINARIES ) )
69
69
$(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
71
74
72
75
tools-win64 : $(addsuffix .exe,$(addprefix tools/win64/,$(BINARIES ) ) )
73
76
You can’t perform that action at this time.
0 commit comments