[patch 8/8] uml: fix x86_64 submode compilation [before 2.6.11]

From: blaisorblade
Date: Fri Feb 04 2005 - 16:31:20 EST



From: Jeff Dike <jdike@xxxxxxxxxxx>

Forgot to use ARCH_USER_CFLAGS after defining it for x86_64.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>
---

linux-2.6.11-paolo/arch/um/Makefile | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/um/Makefile~uml-x86_64-fixes arch/um/Makefile
--- linux-2.6.11/arch/um/Makefile~uml-x86_64-fixes 2005-02-04 07:41:07.673156760 +0100
+++ linux-2.6.11-paolo/arch/um/Makefile 2005-02-04 07:41:07.727148552 +0100
@@ -58,7 +58,7 @@ CFLAGS += $(CFLAGS-y) -D__arch_um__ -DSU

USER_CFLAGS := $(patsubst -I%,,$(CFLAGS))
USER_CFLAGS := $(patsubst -D__KERNEL__,,$(USER_CFLAGS)) $(ARCH_INCLUDE) \
- $(MODE_INCLUDE)
+ $(MODE_INCLUDE) $(ARCH_USER_CFLAGS)
CFLAGS += -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask
CFLAGS += $(call cc-option,-fno-unit-at-a-time,)

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/