aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Schlatter <jeremy.schlatter@gmail.com>2019-05-27 18:28:06 +0800
committerFelix Lange <fjl@users.noreply.github.com>2019-05-27 18:28:06 +0800
commita184ab7a61884409a4deea2419c5307a0dc7c49d (patch)
treef8c49c624e5ab1cd20494c9b60f5a8f2859b8019
parentdb0cc211f76a03187a2eb0b4e30ea1d576d1f666 (diff)
downloadgo-tangerine-a184ab7a61884409a4deea2419c5307a0dc7c49d.tar
go-tangerine-a184ab7a61884409a4deea2419c5307a0dc7c49d.tar.gz
go-tangerine-a184ab7a61884409a4deea2419c5307a0dc7c49d.tar.bz2
go-tangerine-a184ab7a61884409a4deea2419c5307a0dc7c49d.tar.lz
go-tangerine-a184ab7a61884409a4deea2419c5307a0dc7c49d.tar.xz
go-tangerine-a184ab7a61884409a4deea2419c5307a0dc7c49d.tar.zst
go-tangerine-a184ab7a61884409a4deea2419c5307a0dc7c49d.zip
accounts/keystore: enable fallback for darwin,!cgo (#19614)
Without this, accounts/keystore fails to build for Darwin with CGO_ENABLED=0.
-rw-r--r--accounts/keystore/watch.go2
-rw-r--r--accounts/keystore/watch_fallback.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/accounts/keystore/watch.go b/accounts/keystore/watch.go
index bbcfb9925..d6ef53327 100644
--- a/accounts/keystore/watch.go
+++ b/accounts/keystore/watch.go
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
-// +build darwin,!ios freebsd linux,!arm64 netbsd solaris
+// +build darwin,!ios,cgo freebsd linux,!arm64 netbsd solaris
package keystore
diff --git a/accounts/keystore/watch_fallback.go b/accounts/keystore/watch_fallback.go
index 7c5e9cb2e..de0e87f8a 100644
--- a/accounts/keystore/watch_fallback.go
+++ b/accounts/keystore/watch_fallback.go
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
-// +build ios linux,arm64 windows !darwin,!freebsd,!linux,!netbsd,!solaris
+// +build darwin,!cgo ios linux,arm64 windows !darwin,!freebsd,!linux,!netbsd,!solaris
// This is the fallback implementation of directory watching.
// It is used on unsupported platforms.