boost/0001-Changes-required-for-aarch64-support-in-boost-config.patch
2015-07-23 13:08:11 +02:00

27 lines
833 B
Diff

From 8787f6b0718b6b0750869ba52bc65d26db665a05 Mon Sep 17 00:00:00 2001
From: Ananth Jasty <ajasty@cavium.com>
Date: Wed, 15 Apr 2015 17:59:47 -0700
Subject: [PATCH] Changes required for aarch64 support in boost::config.
---
libs/config/checks/architecture/arm.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libs/config/checks/architecture/arm.cpp b/libs/config/checks/architecture/arm.cpp
index 6a83737..794aba8 100644
--- a/libs/config/checks/architecture/arm.cpp
+++ b/libs/config/checks/architecture/arm.cpp
@@ -8,6 +8,8 @@
#if !defined(__arm__) && !defined(__thumb__) && \
!defined(__TARGET_ARCH_ARM) && !defined(__TARGET_ARCH_THUMB) && \
- !defined(_ARM) && !defined(_M_ARM)
+ !defined(_ARM) && !defined(_M_ARM) && \
+ !defined(__aarch64__)
#error "Not ARM"
#endif
+
--
2.4.5