OBS add correcting definition of EFI_ARCH

Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
James Bottomley 2015-01-06 08:00:28 -08:00
parent ed53774c2f
commit 706bec1a95

View file

@ -64,7 +64,7 @@ PKG_CHECK_MODULES(uuid, uuid,
AC_MSG_ERROR([libuuid (from the uuid package) is required]))
dnl gnu-efi headers require extra include dirs
EFI_ARCH=$(uname -m)
EFI_ARCH=$(uname -m | sed s/i.86/ia32/)
EFI_CPPFLAGS="-I/usr/include/efi -I/usr/include/efi/$EFI_ARCH \
-DEFI_FUNCTION_WRAPPER"
CPPFLAGS_save="$CPPFLAGS"