summaryrefslogtreecommitdiffstats
path: root/arch/h8300/lib
diff options
context:
space:
mode:
authorSam Ravnborg <sam@neptun.(none)>2007-10-14 22:26:53 +0200
committerSam Ravnborg <sam@neptun.(none)>2007-10-14 22:26:53 +0200
commit0c53c8e6eb456cde30f2305421c605713856abc8 (patch)
tree6050c25f7aa7625d0b6b65df701e3e601d69a24d /arch/h8300/lib
parentkbuild: enable 'make CFLAGS=...' to add additional options to CC (diff)
downloadlinux-0c53c8e6eb456cde30f2305421c605713856abc8.tar.xz
linux-0c53c8e6eb456cde30f2305421c605713856abc8.zip
kbuild: check for wrong use of CFLAGS
External modules have in a few cases modifed gcc option by modifying CFLAGS. This has never been documented and was a bad practice. With the check to use KBUILD_CFLAGS it will no longer work so we better error out and tell what was wrong as a service to the external module users. This check can be overruled if KBUILD_NOPEDANTIC is set to something. Addid this possibility may allow older external module to build without any code modifications but potentially only loosing some un-important gcc options. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/h8300/lib')
0 files changed, 0 insertions, 0 deletions