From: Bdale Garbee Date: Mon, 2 Nov 2009 05:07:11 +0000 (-0700) Subject: see if we can fix the 32 bit userspace on 64 bit kernel build problem X-Git-Tag: debian/3.12-1~2^2~1 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=b637a47a37f495b2fd4a3a74ecd8e96403429c01;p=debian%2Felilo see if we can fix the 32 bit userspace on 64 bit kernel build problem --- diff --git a/Make.defaults b/Make.defaults index 1f3d989..8ec559d 100644 --- a/Make.defaults +++ b/Make.defaults @@ -62,8 +62,8 @@ EFICRT0 = /usr/lib CDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) TOPDIR = -HOSTARCH = $(shell uname -m | sed s,i[3456789]86,ia32,) -ARCH := $(shell uname -m | sed s,i[3456789]86,ia32,) +HOSTARCH = $(dpkg-architecture -qDEB_BUILD_ARCH | sed s,i[3456789]86,ia32,) +ARCH := $(dpkg-architecture -qDEB_BUILD_ARCH | sed s,i[3456789]86,ia32,) INCDIR = -I. -I$(TOPDIR) -I$(EFIINC) -I$(EFIINC)/$(ARCH) -I$(EFIINC)/protocol -I$(TOPDIR)/efi110 CPPFLAGS = -DCONFIG_$(ARCH)