diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-16 16:00:17 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-16 16:00:17 +0100 |
commit | 6fcad535ee3a47e3efee9a45bb6cb40b5ab76898 (patch) | |
tree | be8dab109a7428fca943047491e10756ac6b1cc2 /Config.mk | |
parent | 2aef8806418125a5121dba3de623f10f982342fc (diff) | |
download | xen-6fcad535ee3a47e3efee9a45bb6cb40b5ab76898.tar.gz xen-6fcad535ee3a47e3efee9a45bb6cb40b5ab76898.tar.bz2 xen-6fcad535ee3a47e3efee9a45bb6cb40b5ab76898.zip |
Tack -m32/-m64 on HOSTCFLAGS when COMPILE_ARCH is x86.
Should fix building in Solaris environments.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'Config.mk')
-rw-r--r-- | Config.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -20,6 +20,9 @@ SHELL ?= /bin/sh HOSTCC = gcc HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer HOSTCFLAGS += -fno-strict-aliasing +HOSTCFLAGS_x86_32 = -m32 +HOSTCFLAGS_x86_64 = -m64 +HOSTCFLAGS += $(HOSTCFLAGS_$(XEN_COMPILE_ARCH)) DISTDIR ?= $(XEN_ROOT)/dist DESTDIR ?= / |