|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
From f04a5c9d6a733f44d8f88dcea4ec340ec2d1d2c4 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
Date: Sat, 10 Dec 2016 13:01:22 -0500
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
Subject: [PATCH] build-sys: define arm as secondary architecture for arm64
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
Completely unstested. Fixes #4862.
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
(cherry picked from commit b7cac52779d52eff6ed03103922ffe1208a7baa9)
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
---
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
src/basic/architecture.h | 1 +
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
1 file changed, 1 insertion(+)
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
diff --git a/src/basic/architecture.h b/src/basic/architecture.h
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
index 5a77c31932..b329df2f6d 100644
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
--- a/src/basic/architecture.h
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
+++ b/src/basic/architecture.h
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
@@ -150,6 +150,7 @@ int uname_architecture(void);
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
# else
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
# define native_architecture() ARCHITECTURE_ARM64
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
# define LIB_ARCH_TUPLE "aarch64-linux-gnu"
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
+# define SECONDARY_ARCHITECTURE ARCHITECTURE_ARM
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
# endif
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
#elif defined(__arm__)
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
# if __BYTE_ORDER == __BIG_ENDIAN
|