Skip to content

Commit

Permalink
Fix issue I introduced reworking platform-specific code
Browse files Browse the repository at this point in the history
I verified things compile now like this

CGO_ENABLED=0 GOOS=windows go install -gcflags="all=-N -l" ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go install -gcflags="all=-N -l" ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go install -gcflags="all=-N -l" ./...
CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go install -gcflags="all=-N -l" ./...
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go install -gcflags="all=-N -l" ./...
CGO_ENABLED=0 GOOS=linux GOARCH=arm go install -gcflags="all=-N -l" ./...
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go install -gcflags="all=-N -l" ./...
CGO_ENABLED=0 GOOS=netbsd GOARCH=amd64 go install -gcflags="all=-N -l" ./...
CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 go install -gcflags="all=-N -l" ./...
CGO_ENABLED=0 GOOS=linux GOARCH=riscv64 go install -gcflags="all=-N -l" ./...
  • Loading branch information
gcla committed Aug 21, 2021
1 parent 3275725 commit 096b6c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system/dumpcapext_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// code is governed by the MIT license that can be found in the LICENSE
// file.

// +build !darwin
// +build !linux

package system

import (
Expand Down

0 comments on commit 096b6c5

Please # to comment.