Enable possibility of Aarch64 build 13/18313/2 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_ivi_panda tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi tizen_ivi_panda accepted/tizen/common/20140923.085008 accepted/tizen/ivi/20140926.185916 accepted/tizen/ivi/panda/20140403.014419 submit/tizen/20140923.004805 submit/tizen_ivi_panda/20140403.012015 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
authorIlya Palachev <i.palachev@samsung.com>
Thu, 20 Mar 2014 12:58:27 +0000 (16:58 +0400)
committerIlya Palachev <i.palachev@samsung.com>
Mon, 24 Mar 2014 07:26:57 +0000 (11:26 +0400)
Package "leveldb" cannot be built for architecture "aarch64" because
of build errors related with the fact that for architecture
"aarch64" gcc compiler defines the macro that is different from the
macro defined for standard 32-bit ARM architecture. That's why we
have added the check of __aarch64__ macro in one header file.

Change-Id: I7be468b49c8e1a552c1c7e52d6c08166e1463570
Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
port/atomic_pointer.h

index 35ae550..db0a613 100644 (file)
@@ -34,7 +34,7 @@
 #define ARCH_CPU_X86_FAMILY 1
 #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
 #define ARCH_CPU_X86_FAMILY 1
-#elif defined(__ARMEL__)
+#elif defined(__ARMEL__) || defined(__aarch64__)
 #define ARCH_CPU_ARM_FAMILY 1
 #endif