aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/boringssl
diff options
context:
space:
mode:
authorGravatar Shanqing Cai <cais@google.com>2017-07-01 20:11:22 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-07-01 20:15:43 -0700
commit46952dd163954be40c4649894abcab587a63ecfe (patch)
tree53b0429a1794a217df515b0d3965155e89607d2f /third_party/boringssl
parentdbb6cb0554eeb0915623c16937638faade9bc939 (diff)
Internal-only changes
PiperOrigin-RevId: 160754438
Diffstat (limited to 'third_party/boringssl')
-rw-r--r--third_party/boringssl/add_boringssl_s390x.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/boringssl/add_boringssl_s390x.patch b/third_party/boringssl/add_boringssl_s390x.patch
new file mode 100644
index 0000000000..0b41a4aa96
--- /dev/null
+++ b/third_party/boringssl/add_boringssl_s390x.patch
@@ -0,0 +1,13 @@
+diff --git a/src/include/openssl/base.h b/src/include/openssl/base.h
+index 7a3adfb..88012ad 100644
+--- a/src/include/openssl/base.h
++++ b/src/include/openssl/base.h
+@@ -94,6 +94,8 @@ extern "C" {
+ #elif defined(__pnacl__)
+ #define OPENSSL_32_BIT
+ #define OPENSSL_PNACL
++#elif defined(__s390x__)
++#define OPENSSL_64_BIT
+ #else
+ #error "Unknown target CPU"
+ #endif