aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/binutils/binutils-cross_nios2-2.15.bb
blob: e5eba211f6101bc623f404f3b3d906341ce30177 (plain)
1
2
3
4
5
6
7
8
9
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
require binutils_${PV}.bb
require binutils-cross.inc

# nios2-linux-uclibc-ar suffers from errors against FORTIFY_SOURCE checks on
# GCC 4.3+ with _FORTIFY_SOURCE enabled. Either fix the bugs, take an older
# host toolchain, or disable the checks. We disable the checks:
CFLAGS += "-U_FORTIFY_SOURCE"