1Error building for i386 target in cross env 2 3#include <efi/x86_64/efibind.h> 4 5ARCH is host arch, not target arch 6 7Upstream-Status: Submitted 8 9Signed-off-by: Armin Kuster <akuster808@gmail.com> 10Index: git/src/uefi-types.h 11=================================================================== 12--- git.orig/src/uefi-types.h 13+++ git/src/uefi-types.h 14@@ -3,9 +3,9 @@ 15 #define UEFI_TYPES_H 16 17 #ifndef EDK2_BUILD 18-#if ARCH == x86_64 19+#if defined(__x86_64__) 20 #include <efi/x86_64/efibind.h> 21-#elif ARCH == ia32 22+#elif defined(__i386__) 23 #include <efi/ia32/efibind.h> 24 #else 25 #error "Unsupported ARCH." 26