mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
bitkeeper revision 1.1159.226.2 (41f530d3LtbkTKUSgcI8LiQlQRJG0w)
Fix Xen's linker command line.
This commit is contained in:
1 parent
1aedec574b
commit
8febb23b3d
1 file changed
+2
-2
@@ -24,13 +24,13 @@ CFLAGS += $(call test-gcc-flag,-fno-stack-protector-all)
|
||||
|
||||
ifeq ($(TARGET_SUBARCH),x86_32)
|
||||
CFLAGS += -m32 -march=i686
|
||||
LDFLAGS := --oformat elf32-i386
|
||||
LDFLAGS := -m elf_i386
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_SUBARCH),x86_64)
|
||||
CFLAGS += -m64 -mno-red-zone -fpic -fno-reorder-blocks
|
||||
CFLAGS += -fno-asynchronous-unwind-tables
|
||||
LDFLAGS := --oformat elf64-x86-64
|
||||
LDFLAGS := -m elf_x86_64
|
||||
endif
|
||||
|
||||
# Test for at least GCC v3.2.x.
|
||||
|
||||