Przeglądaj źródła

Enable race condition detector in psiphond

Rod Hynes 9 lat temu
rodzic
commit
0dfb771a3e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Server/make.bash

+ 1 - 1
Server/make.bash

@@ -54,7 +54,7 @@ build_for_linux () {
     exit $?
   fi
 
-  GOOS=linux GOARCH=amd64 go build -ldflags "$LDFLAGS" -o psiphond main.go
+  GOOS=linux GOARCH=amd64 go build -race -ldflags "$LDFLAGS" -o psiphond main.go
   if [ $? != 0 ]; then
     echo "...'go build' failed, exiting"
     exit $?