[PATCH] uml: fix compilation options for USER_OBJS
authorakpm@osdl.org <akpm@osdl.org>
Mon, 30 Oct 2006 06:46:42 +0000 (22:46 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 30 Oct 2006 20:08:41 +0000 (12:08 -0800)
commitd45e44d4be60ef508579001792f33753b5cb6d36
tree1f1eebd97c8bb352f7b41bd221bcdd1af2632418
parentb428b51ed9a4ff8445ea50769961f948480c1d36
[PATCH] uml: fix compilation options for USER_OBJS

From: Jeff Dike <jdike@addtoit.com>, Paolo Giarrusso <blaisorblade@yahoo.it>

Make sure that when compiling USER_OBJS the correct compilation options are
passed; since they are compiled with USER_CFLAGS which is derived from
CFLAGS, make sure it is a recursively evaluated variable, so that changes
to CFLAGS done afterwards the inclusion of arch/$(ARCH)/Makefile are
reflected in USER_CFLAGS.

For instance, without this patch userspace objects are never compiled with
debug info active.

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>
arch/um/Makefile
arch/um/Makefile-i386
arch/um/Makefile-x86_64