git/.github
Dennis Ameling 4c0a4a9ab9 cmake(): allow setting HOST_CPU for cross-compilation
Git's regular Makefile mentions that HOST_CPU should be defined when cross-compiling Git: 37796bca76/Makefile (L438-L439)

This is then used to set the GIT_HOST_CPU variable when compiling Git: 37796bca76/Makefile (L1337-L1341)

Then, when the user runs `git version --build-options`, it returns that value: 37796bca76/help.c (L658)

This commit adds the same functionality to the CMake configuration. Users can now set -DHOST_CPU= to set the target architecture.

Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
2023-05-24 16:37:42 -06:00
..
workflows cmake(): allow setting HOST_CPU for cross-compilation 2023-05-24 16:37:42 -06:00
CONTRIBUTING.md docs: mention MyFirstContribution in more places 2020-06-08 15:12:28 -07:00
PULL_REQUEST_TEMPLATE.md point pull requesters to GitGitGadget 2019-03-13 11:07:50 +09:00