summaryrefslogtreecommitdiff
path: root/absl/base
diff options
context:
space:
mode:
authorGravatar SSE4 <tomskside@gmail.com>2021-01-29 02:04:45 +0700
committerGravatar GitHub <noreply@github.com>2021-01-28 14:04:45 -0500
commitaf39e133059928cfcdeea0592434720897f20173 (patch)
treede51ba73131a15972d6fb4220f1c928f2c096dc4 /absl/base
parente4e2e57e1a4308cf4ba008d9c1f2d478b3349201 (diff)
Add support for Elbrus 2000 (e2k) (#889)
Diffstat (limited to 'absl/base')
-rw-r--r--absl/base/attributes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/attributes.h b/absl/base/attributes.h
index 0ba1e7da..f14f7bb0 100644
--- a/absl/base/attributes.h
+++ b/absl/base/attributes.h
@@ -121,7 +121,7 @@
#if ABSL_HAVE_ATTRIBUTE(disable_tail_calls)
#define ABSL_HAVE_ATTRIBUTE_NO_TAIL_CALL 1
#define ABSL_ATTRIBUTE_NO_TAIL_CALL __attribute__((disable_tail_calls))
-#elif defined(__GNUC__) && !defined(__clang__)
+#elif defined(__GNUC__) && !defined(__clang__) && !defined(__e2k__)
#define ABSL_HAVE_ATTRIBUTE_NO_TAIL_CALL 1
#define ABSL_ATTRIBUTE_NO_TAIL_CALL \
__attribute__((optimize("no-optimize-sibling-calls")))