-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I was compiling sam from sources on linux aarch64 (debian in docker running on macos M1) and had to make the following change, otherwise the corresponding constants stayed undefined and wex wouldn't compile.
I'm leaving my workaround here in case someone faces the same problem:
index 1e62f56..5bf9764 100644
--- a/build_resources/libcurl_ssl_x64/include/curl/curlbuild.h
+++ b/build_resources/libcurl_ssl_x64/include/curl/curlbuild.h
@@ -536,7 +536,7 @@ Error Compilation_aborted_CURL_SUFFIX_CURL_OFF_TU_already_defined
# define CURL_SIZEOF_CURL_OFF_T 8
# define CURL_SUFFIX_CURL_OFF_T LL
# define CURL_SUFFIX_CURL_OFF_TU ULL
-# elif defined(__x86_64__) || defined(__ppc64__)
+# elif defined(__x86_64__) || defined(__ppc64__) || defined(__aarch64__)
# define CURL_SIZEOF_LONG 8
# define CURL_TYPEOF_CURL_OFF_T long
# define CURL_FORMAT_CURL_OFF_T "ld"My platform:
uname -a
Linux d6caf49a35b7 5.10.47-linuxkit #1 SMP PREEMPT Sat Jul 3 21:50:16 UTC 2021 aarch64 GNU/Linux
Metadata
Metadata
Assignees
Labels
No labels