Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs plugin needs CGO support. However on riscv64, cgo is only support on go1.16 (not released yet). Instead of setting no_btrfs manually, adding a cgo tag tells the compiler to skip it automatically. Signed-off-by: Shengjing Zhu <zhsj@debian.org>
- Loading branch information
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build !no_btrfs | ||
// +build !no_btrfs,cgo | ||
|
||
/* | ||
Copyright The containerd Authors. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build linux,!no_btrfs | ||
// +build linux,!no_btrfs,cgo | ||
|
||
/* | ||
Copyright The containerd Authors. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build linux,!no_btrfs | ||
// +build linux,!no_btrfs,cgo | ||
|
||
/* | ||
Copyright The containerd Authors. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build linux,!no_btrfs | ||
// +build linux,!no_btrfs,cgo | ||
|
||
/* | ||
Copyright The containerd Authors. | ||
|