mirror of https://github.com/acidanthera/audk.git
If you install 64-bit kernel build will fail. This requires manually setting properties, but it is legal...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10796 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
28a94112d1
commit
95ac6ef640
|
@ -0,0 +1 @@
|
||||||
|
PosixLike
|
|
@ -44,11 +44,14 @@ LFLAGS =
|
||||||
# to x86_64. So make sure tools match uname -m
|
# to x86_64. So make sure tools match uname -m
|
||||||
#
|
#
|
||||||
uname_s = $(shell uname -s)
|
uname_s = $(shell uname -s)
|
||||||
|
uname_m = $(shell uname -m)
|
||||||
ifeq ($(uname_s),Darwin)
|
ifeq ($(uname_s),Darwin)
|
||||||
|
ifeq ($(uname_m),i386)
|
||||||
CFLAGS += -arch i386
|
CFLAGS += -arch i386
|
||||||
CPPFLAGS += -arch i386
|
CPPFLAGS += -arch i386
|
||||||
LFLAGS += -arch i386
|
LFLAGS += -arch i386
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
|
|
Loading…
Reference in New Issue