[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Tack -m32/-m64 on HOSTCFLAGS when COMPILE_ARCH is x86.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1187276417 -3600
# Node ID cd511c380e037f41595b44db920ec903bc7724c3
# Parent  d1f9652e35c37f6a305f2d2b7f04ab2334d70d62
Tack -m32/-m64 on HOSTCFLAGS when COMPILE_ARCH is x86.
Should fix building in Solaris environments.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 Config.mk |    3 +++
 1 files changed, 3 insertions(+)

diff -r d1f9652e35c3 -r cd511c380e03 Config.mk
--- a/Config.mk Thu Aug 16 15:59:18 2007 +0100
+++ b/Config.mk Thu Aug 16 16:00:17 2007 +0100
@@ -20,6 +20,9 @@ HOSTCC      = gcc
 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     ?= /

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.