commit | d14a5fdc26986f7bac8376a339f336be18ba2a90 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert@linux-m68k.org> | Sat May 12 22:39:07 2012 +0200 |
committer | Paul Mundt <lethal@linux-sh.org> | Wed Jun 13 11:42:13 2012 +0900 |
tree | 73c18d3e70d69c84391b4101e0553b4d03997e73 | |
parent | 8e780be960c3e7000a94652bc56efeb3c932ee24 [diff] |
sh: Setup CROSS_COMPILE at the top CROSS_COMPILE must be setup before using e.g. cc-option (and a few other as-*, cc-*, ld-* macros), else they will check against the wrong compiler when cross-compiling, and may invoke the cross compiler with wrong or suboptimal compiler options. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Paul Mundt <lethal@linux-sh.org> Cc: linux-sh@vger.kernel.org Signed-off-by: Paul Mundt <lethal@linux-sh.org>