Parcourir la source

编译命令中加入 trimpath

hebinlong il y a 4 ans
Parent
commit
1f18f4511a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -6,7 +6,7 @@ END =
 ifeq (${GOOS}, windows)
 	END=.exe
 endif
-EDIT = ${edit}${END}
+EDIT = ${edit}_${GOOS}_${GOARCH}${END}
 
 
 commitId = $(shell git rev-parse HEAD)