At least that problem on ppc machines is due to fact that ppc64el is not
taken in account properly
A patch could be
diff xrdp-0.9.12/common/arch.h xrdp-bad/common/arch.h
64a65,70
> #if defined(__LITTLE_ENDIAN__)
> #define L_ENDIAN
> #else
> #define B_ENDIAN
> #endif
>
68,69c74,75
< (defined(__PPC__) && defined(__BIG_ENDIAN__)) || \
< (defined(__ppc__) && defined(__BIG_ENDIAN__))
---
> defined(__PPC__) || \
> defined(__ppc__)
82,83c88
< (defined(__PPC__) && defined(__BIG_ENDIAN__)) || \
< (defined(__ppc__) && defined(__BIG_ENDIAN__))
---
> defined(__PPC__) || defined(__ppc__)