aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2015-01-06 08:00:28 -0800
committerJames Bottomley <JBottomley@Parallels.com>2015-01-06 12:45:03 -0800
commit706bec1a957f2fcce3781e326e6e0b2be41a9b86 (patch)
tree67e377137062a48833a2c07c8c71aa0bfa9645f0
parented53774c2f6b39ab63b312891ba7e98492f4d7e3 (diff)
downloadsbsigntools-706bec1a957f2fcce3781e326e6e0b2be41a9b86.tar.gz
OBS add correcting definition of EFI_ARCH
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4891151..2e80e09 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"