summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-03 21:31:14 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-03 21:31:14 +0800
commit6e3bbfcb25ef697c6023249067138d3fffe93283 (patch)
tree5ebcc59ca5f47ed5065234febac30c8bca72e028
parentupload: Add "$@" to rsync (diff)
downloadwebsite-6e3bbfcb25ef697c6023249067138d3fffe93283.tar.gz
website-6e3bbfcb25ef697c6023249067138d3fffe93283.tar.zst
website-6e3bbfcb25ef697c6023249067138d3fffe93283.zip
forge/setup: Note about cross compilation
-rw-r--r--content/forge/setup.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/forge/setup.md b/content/forge/setup.md
index 4125b98..37be79c 100644
--- a/content/forge/setup.md
+++ b/content/forge/setup.md
@@ -15,6 +15,10 @@ Clone the source code and run `make`.
Then run `make install` to install it. By default, it installs to `/usr/local/`.
+Note that setting `GOARCH` to cross compile does not completely work, since the
+hooks handler is written in C. You need to customize `CC` to point to a proper
+cross compiler.
+
## Runtime dependencies
* Git