sh: fix LIBGCC
authorAdrian Bunk <bunk@kernel.org>
Fri, 1 Aug 2008 22:13:44 +0000 (01:13 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 1 Aug 2008 22:23:31 +0000 (07:23 +0900)
commit49de935c107a53b0eba336efceb1dc3a8be64f87
tree778101ba20e410c4d2c1b98e6a1c332a71d7b768
parent4385e12b291a6816987cb88a74fc116f520180f8
sh: fix LIBGCC

Commit f15cbe6f1a4b4d9df59142fc8e4abb973302cf44
(sh: migrate to arch/sh/include/) moved KBUILD_CFLAGS
(which is used by LIBGCC) below LIBGCC, causing build
errors like the following:

<--  snip  -->

...
  LD      .tmp_vmlinux1
arch/sh/kernel/built-in.o: In function `module_clk_recalc':
clock-sh4.c:(.text+0x80f0): undefined reference to `__udivsi3_i4i'
...
make[1]: *** [.tmp_vmlinux1] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Makefile