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

[Xen-changelog] allow compilation of 32 bits on biarch 64 bits.



# HG changeset patch
# User vhanquez@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID d8598a7db684b999125487e797eb2230caf99ec3
# Parent  9532090d250f1cbd3cefce69739b99033115191b
allow compilation of 32 bits on biarch 64 bits.

Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>

diff -r 9532090d250f -r d8598a7db684 linux-2.6-xen-sparse/arch/i386/Makefile
--- a/linux-2.6-xen-sparse/arch/i386/Makefile   Tue Jan 31 11:03:11 2006
+++ b/linux-2.6-xen-sparse/arch/i386/Makefile   Tue Jan 31 12:00:25 2006
@@ -16,6 +16,13 @@
 #
 # 20050320  Kianusch Sayah Karadji <kianusch@xxxxxxxxxxx>
 #           Added support for GEODE CPU
+
+HAS_BIARCH      := $(call cc-option-yn, -m32)
+ifeq ($(HAS_BIARCH),y)
+AS              := $(AS) --32
+LD              := $(LD) -m elf_i386
+CC              := $(CC) -m32
+endif
 
 LDFLAGS                := -m elf_i386
 OBJCOPYFLAGS   := -O binary -R .note -R .comment -S

_______________________________________________
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®.