summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-11-04 21:00:46 +0300
committerSam Ravnborg <sam@ravnborg.org>2007-11-04 21:00:46 +0300
commit69ee0b3522428a07ff1765446d631ecc7da6ae0f (patch)
treefe13c78e9f7e7fa528a7bd1bd72e387373668212 /lib
parentb4f555081fdd27d13e6ff39d455d5aefae9d2c0c (diff)
downloadlinux-69ee0b3522428a07ff1765446d631ecc7da6ae0f.tar.xz
kbuild: do not pick up CFLAGS from the environment
Too many people have CFLAGS set to support building userspace. And now Kbuild picks up CFLAGS this caused troubles. Although people should realise that setting CFLAGS has a 'global' effect the impact on the kernel build is a suprise. So change kbuild to pick up value from KCFLAGS that is much less used. When kbuild pick up a value it will warn like this: Makefile:544: "WARNING: Appending $KCFLAGS (-O3) from environment to kernel $CFLAGS" Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Thomas Bächler <thomas@archlinux.org> Cc: David Miller <davem@davemloft.net> Cc: Ingo Molnar <mingo@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions