diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-03 21:31:14 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-03 21:31:14 +0800 |
commit | 6e3bbfcb25ef697c6023249067138d3fffe93283 (patch) | |
tree | 5ebcc59ca5f47ed5065234febac30c8bca72e028 /content | |
parent | upload: Add "$@" to rsync (diff) | |
download | website-6e3bbfcb25ef697c6023249067138d3fffe93283.tar.gz website-6e3bbfcb25ef697c6023249067138d3fffe93283.tar.zst website-6e3bbfcb25ef697c6023249067138d3fffe93283.zip |
forge/setup: Note about cross compilation
Diffstat (limited to 'content')
-rw-r--r-- | content/forge/setup.md | 4 |
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 |