diff options
| author | Randolph Chung <randolph@tausq.org> | 2004-10-27 04:16:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-27 04:16:37 -0700 |
| commit | bb7be7fef4eae8a9d3e19773269920b4011a9dda (patch) | |
| tree | 34ce081049254855bd286cb2d6fa483c6baa2c4c /Makefile | |
| parent | d7e672b1b99af4256fefe48d91f58208ec5301d4 (diff) | |
[PATCH] Fix cc-option call for xcompiles
If an arch Makefile overrides CROSS_COMPILE (e.g. parisc, mips, ...)
then the cc-option call in the main Makefile uses the wrong compiler
to check for options.
Signed-off-by: Randolph Chung <tausq@debian.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -520,11 +520,11 @@ ifdef CONFIG_DEBUG_INFO CFLAGS += -g endif +include $(srctree)/arch/$(ARCH)/Makefile + # warn about C99 declaration after statement CFLAGS += $(call cc-option,-Wdeclaration-after-statement,) -include $(srctree)/arch/$(ARCH)/Makefile - # Default kernel image to build when no specific target is given. # KBUILD_IMAGE may be overruled on the commandline or # set in the environment |
