|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [xenppc-unstable] [ppc] add flags that explicitly tell the comp
# HG changeset patch
# User jimix@xxxxxxxxxxxxxxxxxxx
# Node ID 7fe3f6570bab585930863919f2ff6a6c281bb2b2
# Parent 116d512c236bff864e14704fbc00ae22abb3fb69
[ppc] add flags that explicitly tell the compiler to build in 64bits
---
xen/arch/ppc/Rules.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
diff -r 116d512c236b -r 7fe3f6570bab xen/arch/ppc/Rules.mk
--- a/xen/arch/ppc/Rules.mk Mon Jun 05 14:53:19 2006 -0400
+++ b/xen/arch/ppc/Rules.mk Mon Jun 05 14:56:22 2006 -0400
@@ -3,7 +3,7 @@ CC := $(CROSS_COMPILE)gcc
CC := $(CROSS_COMPILE)gcc
LD := $(CROSS_COMPILE)ld
-CFLAGS := -ffreestanding -fno-builtin -fno-common -fno-strict-aliasing
+CFLAGS := -m64 -ffreestanding -fno-builtin -fno-common -fno-strict-aliasing
CFLAGS += -iwithprefix include -Wall -Werror -pipe # -Wpadded
CFLAGS += -I$(BASEDIR)/include
CFLAGS += -I$(BASEDIR)/include/asm-ppc/mach-generic
@@ -12,6 +12,8 @@ CFLAGS += -msoft-float -O2
CFLAGS += -msoft-float -O2
CFLAGS-$(debug) += -O0 # last one wins
CFLAGS-$(papr_vterm) += -DPAPR_VDEVICE -DPAPR_VTERM
+
+LDFLAGS += -m elf64ppc
#
# command to embed a binary inside a .o
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [XenPPC] [xenppc-unstable] [ppc] add flags that explicitly tell the compiler to build in 64bits,
Xen patchbot-xenppc-unstable <=
|
|
|
|
|