Parcourir la source

Enable race condition detector in psiphond

Rod Hynes il y a 9 ans
Parent
commit
0dfb771a3e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Server/make.bash

+ 1 - 1
Server/make.bash

@@ -54,7 +54,7 @@ build_for_linux () {
     exit $?
     exit $?
   fi
   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
   if [ $? != 0 ]; then
     echo "...'go build' failed, exiting"
     echo "...'go build' failed, exiting"
     exit $?
     exit $?