]> git.baikalelectronics.ru Git - kernel.git/commit
nios2: Fix libgcc location detection
authorMarek Vasut <marex@denx.de>
Tue, 17 May 2016 06:01:18 +0000 (14:01 +0800)
committerLey Foon Tan <lftan@altera.com>
Tue, 17 May 2016 06:31:20 +0000 (14:31 +0800)
commitb765332afa1d8d89632362920a337eb8af916d84
tree947f9022bb447bf17e00430caa01644c1f45407a
parent519659e0df4b8203e9ea1c3b1e34a3f50bb0bf8b
nios2: Fix libgcc location detection

The extra CFLAGS required for correct operation of the toolchain are not
propagated into the libgcc detection code. In case of the compiler from
poky sdk, these extra CFLAGS contain the location of compiler sysroot
(the --sysroot= option) and without this option, the location of libgcc
is not properly reported. Add the missing CFLAGS to address this issue.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Romain Perier <romain.perier@free-electrons.com>
Acked-by: Romain Perier <romain.perier@free-electrons.com>
Acked-by: Ley Foon Tan <lftan@altera.com>
arch/nios2/Makefile