aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/xrdp/xrdp/0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch
blob: ea3eb11f0adb0def7181152691e2a6725da1c770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 5958db649855bfb2ada7c0ed22a00f839b9a1161 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 12 Mar 2021 21:40:35 -0800
Subject: [PATCH] arch: Define NO_NEED_ALIGN on ppc64

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 common/arch.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/arch.h b/common/arch.h
index 617feb5e..6edb39db 100644
--- a/common/arch.h
+++ b/common/arch.h
@@ -85,7 +85,7 @@ typedef int bool_t;
 #define NEED_ALIGN
 #elif defined(__x86__) || defined(__x86_64__) || \
       defined(__AMD64__) || defined(_M_IX86) || defined (_M_AMD64) || \
-      defined(__i386__) || defined(__aarch64__) || \
+      defined(__i386__) || defined(__aarch64__) || defined(__powerpc64__) || \
       defined(__PPC__) || defined(__LITTLE_ENDIAN__) || \
       defined(__s390__) || defined (__s390x__) || \
       defined(__riscv)
-- 
2.31.1