• Adrian Bunk's avatar
    sh: fix LIBGCC · 49de935c
    Adrian Bunk authored
    Commit f15cbe6f
    (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: default avatarAdrian Bunk <bunk@kernel.org>
    Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    49de935c
Makefile 6.61 KB