mesa: add arm64 support
authorFabio Pedretti <fabio.ped@libero.it>
Tue, 5 Nov 2013 15:51:19 +0000 (16:51 +0100)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 6 Nov 2013 21:08:26 +0000 (22:08 +0100)
Patch from Ubuntu package

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
src/mesa/main/compiler.h

index dceea02..97075f5 100644 (file)
@@ -326,7 +326,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
     defined(ia64) || defined(__ia64__) || \
     defined(__hppa__) || defined(hpux) || \
     defined(__mips) || defined(_MIPS_ARCH) || \
-    defined(__arm__) || \
+    defined(__arm__) || defined(__aarch64__) || \
     defined(__sh__) || defined(__m32r__) || \
     (defined(__sun) && defined(_IEEE_754)) || \
     defined(__alpha__)