Added riscv64 architecture support to the scripts used to build Docker
and it's dependencies.
Signed-off-by: Carlos de Paula <me@carlosedp.com>
| ... | ... |
@@ -70,9 +70,9 @@ hash_files() {
|
| 70 | 70 |
esac |
| 71 | 71 |
fi |
| 72 | 72 |
|
| 73 |
- # -buildmode=pie is not supported on Windows and Linux on mips. |
|
| 73 |
+ # -buildmode=pie is not supported on Windows and Linux on mips and riscv64. |
|
| 74 | 74 |
case "$(go env GOOS)/$(go env GOARCH)" in |
| 75 |
- windows/* | linux/mips*) ;; |
|
| 75 |
+ windows/* | linux/mips* | linux/riscv*) ;; |
|
| 76 | 76 |
|
| 77 | 77 |
*) |
| 78 | 78 |
BUILDFLAGS+=("-buildmode=pie")
|