From: Bdale Garbee Date: Mon, 2 Nov 2009 05:21:14 +0000 (-0700) Subject: see if we can solve the arch problem X-Git-Tag: debian/3.12-1~4 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=431a7fe29aed1f6dca9fd7c7f6f85370b041bed6;p=debian%2Felilo see if we can solve the arch problem --- diff --git a/Make.defaults b/Make.defaults index f5dca13..27f2175 100644 --- a/Make.defaults +++ b/Make.defaults @@ -62,7 +62,7 @@ EFICRT0 = /usr/lib CDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) TOPDIR = -ARCH = $(shell uname -m | sed s,i[3456789]86,ia32,) +ARCH = $(shell 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)