Use whatsapp forks (#750)
This commit is contained in:
4
vendor/golang.org/x/sys/unix/mksyscall.go
generated
vendored
4
vendor/golang.org/x/sys/unix/mksyscall.go
generated
vendored
@@ -88,6 +88,10 @@ func parseParam(p string) Param {
|
||||
func main() {
|
||||
// Get the OS and architecture (using GOARCH_TARGET if it exists)
|
||||
goos := os.Getenv("GOOS")
|
||||
if goos == "" {
|
||||
fmt.Fprintln(os.Stderr, "GOOS not defined in environment")
|
||||
os.Exit(1)
|
||||
}
|
||||
goarch := os.Getenv("GOARCH_TARGET")
|
||||
if goarch == "" {
|
||||
goarch = os.Getenv("GOARCH")
|
||||
|
||||
Reference in New Issue
Block a user