aboutsummaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
authorTomas Popela <tomas.popela@gmail.com>2017-11-13 11:22:14 +0100
committerMike Frysinger <vapier@chromium.org>2017-11-13 19:50:29 +0000
commit615ad2b6f4ec150850ed75a16e6fb9ebb7842b8e (patch)
treed3a31034788ac2c2b631132a879f962ae8ad2a08 /src/third_party
parentAdd index-based set functionality to NonAllocatingMap. (diff)
downloadbreakpad-615ad2b6f4ec150850ed75a16e6fb9ebb7842b8e.tar.xz
List missing 64-bit arches in the bundled curl
Currently the bundled curl fails to build on ppc64/ppc64le or s390x, because it has an incomplete list of 64-bit arches (where long is 64-bit). Similar version is currently used as a downstream patch in Fedora https://src.fedoraproject.org/rpms/firefox/blob/master/f/build-ppc64-s390x-curl.patch Change-Id: Id27bfe1ca048340c45926f5435336941c080f132 Reviewed-on: https://chromium-review.googlesource.com/765453 Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'src/third_party')
-rw-r--r--src/third_party/curl/curlbuild.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/third_party/curl/curlbuild.h b/src/third_party/curl/curlbuild.h
index b0a53e6c..595df4e4 100644
--- a/src/third_party/curl/curlbuild.h
+++ b/src/third_party/curl/curlbuild.h
@@ -155,7 +155,8 @@
/* The size of `long', as computed by sizeof. */
#if defined(_M_X64) || (defined(__x86_64__) && !defined(__ILP32__)) || \
- defined(__aarch64__) || (defined(__mips__) && _MIPS_SIM == _ABI64)
+ defined(__aarch64__) || (defined(__mips__) && _MIPS_SIM == _ABI64) || \
+ defined(__powerpc64__) || defined(__s390x__) || defined(__LP64__)
#define CURL_SIZEOF_LONG 8
#else
#define CURL_SIZEOF_LONG 4