From: Jeff Dike Date: Tue, 6 Nov 2007 16:02:50 +0000 (-0500) Subject: UML: fix defconfig build again X-Git-Tag: v2.6.24-rc2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a82b63f19b0a05a76271aee1eb7905cd1c7d5ad;p=linux-2.6 UML: fix defconfig build again Reported by Al Viro. This fixes it: [AC]FLAGS -> KBUILD_[AC]FLAGS conversion in Makefile-i386. Signed-off-by: Jeff Dike Cc: Al Viro Cc: Sam Ravnborg Signed-off-by: Linus Torvalds --- diff --git a/arch/um/Makefile-i386 b/arch/um/Makefile-i386 index b01dfb00e5..67290117d9 100644 --- a/arch/um/Makefile-i386 +++ b/arch/um/Makefile-i386 @@ -22,8 +22,8 @@ export LDFLAGS HOSTCFLAGS HOSTLDFLAGS UML_OBJCOPYFLAGS endif endif -CFLAGS += -DCONFIG_X86_32 -AFLAGS += -DCONFIG_X86_32 +KBUILD_CFLAGS += -DCONFIG_X86_32 +KBUILD_AFLAGS += -DCONFIG_X86_32 CONFIG_X86_32 := y export CONFIG_X86_32