Re: [PATCH 1/4] [-next] Makefile: Do not call cc-option beforeincluding the arch's Makefile
From: Andi Kleen
Date: Sat May 12 2012 - 21:01:18 EST
On Sat, May 12, 2012 at 10:39:05PM +0200, Geert Uytterhoeven wrote:
> On architectures that setup CROSS_COMPILE in their arch/*/Makefile
> (blackfin, h8300, m68k, mips, parisc, score, sh, tile, unicore32, xtensa),
> cc-option may check against the wrong compiler, causing errors like
> cc1: error: unrecognized command line option "-fno-ipa-cp-clone"
> if the host gcc supports -fno-ipa-cp-clone, while the cross compiler
> doesn't support that option.
> Move the CONFIG_READABLE_ASM section below the inclusion of the arch's
> Makefile to fix this.
Thanks Geert for tracking that down.
Michael, are the patches already in the queue or should I resubmit them?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/