]> git.ipfire.org Git - thirdparty/curl.git/commit
makefile.m32: add support for custom ARCH [ci skip]
authorViktor Szakats <commit@vsz.me>
Mon, 4 Jul 2022 10:26:30 +0000 (10:26 +0000)
committerViktor Szakats <commit@vsz.me>
Mon, 4 Jul 2022 10:26:30 +0000 (10:26 +0000)
commit8ef0f35a044e1f5b46978c9049df9bf9b1b9776c
tree3ad0e230918f59cd70d4b52ef9269915649b1790
parent8ba22ffb2030ed91312fc8634e29516cdf0a9761
makefile.m32: add support for custom ARCH [ci skip]

When building curl for target platform other than x64 and x86, it is now
possible to pass `ARCH=custom`, that will omit all hardcoded logic for
setting up CFLAGS/LDFLAGS/RCFLAGS for these platforms, and let these be
customized via `CURL_CFLAG_EXTRAS`, `CURL_LDFLAG_EXTRAS`, and a newly
added one for the resource compiler: `CURL_RCFLAG_EXTRAS`.

This makes it possible to use `makefile.m32` to build for ARM64 for
example.

Reviewed-by: Daniel Stenberg
Closes #9092
docs/examples/Makefile.m32
lib/Makefile.m32
src/Makefile.m32