diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2005-11-07 03:58:59 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:32 -0500 |
commit | 26d89d1eef38473d0da64b7137952c56d0b6d13f (patch) | |
tree | e59b79d9dd0fd56510701609a18fd879803b6b53 /arch/um | |
parent | 353f8d1cd5b8540c1591f00a5cbd3aeca699cfcf (diff) |
[PATCH] uml: build host-binaries with the native host arch again
This patch reverts back the changes to HOSTCFLAGS and HOSTLDFLAGS
When we were building complete binaries to get constants (such as ptrace
register layout on stack) from host userspace headers, we needed to make the
arch for building HOST binaries match our one: i.e. on a 64bit system
compiling 32bit binaries, we compile 32-bit hostprogs and need, say, 32-bit
ncurses. Now we can revert that - that avoids problem with, say, menuconfig
and ncurses, on a system which can't compile well 32-bit programs.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/Makefile-i386 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/Makefile-i386 b/arch/um/Makefile-i386 index aef7c50f8e13..1f7dcb064aee 100644 --- a/arch/um/Makefile-i386 +++ b/arch/um/Makefile-i386 | |||
@@ -17,8 +17,6 @@ ifeq ("$(origin SUBARCH)", "command line") | |||
17 | ifneq ("$(shell uname -m | sed -e s/i.86/i386/)", "$(SUBARCH)") | 17 | ifneq ("$(shell uname -m | sed -e s/i.86/i386/)", "$(SUBARCH)") |
18 | CFLAGS += $(call cc-option,-m32) | 18 | CFLAGS += $(call cc-option,-m32) |
19 | USER_CFLAGS += $(call cc-option,-m32) | 19 | USER_CFLAGS += $(call cc-option,-m32) |
20 | HOSTCFLAGS += $(call cc-option,-m32) | ||
21 | HOSTLDFLAGS += $(call cc-option,-m32) | ||
22 | AFLAGS += $(call cc-option,-m32) | 20 | AFLAGS += $(call cc-option,-m32) |
23 | LINK-y += $(call cc-option,-m32) | 21 | LINK-y += $(call cc-option,-m32) |
24 | UML_OBJCOPYFLAGS += -F $(ELF_FORMAT) | 22 | UML_OBJCOPYFLAGS += -F $(ELF_FORMAT) |