]> code.ossystems Code Review - openembedded-core.git/commit
gcc-sanitizers: check gcc-build-internal before link
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 3 Feb 2015 06:43:26 +0000 (22:43 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 Feb 2015 22:26:09 +0000 (22:26 +0000)
commit82166e514438eb1b562f2a4dc2f9f8fecf3f60df
tree5069a22d2750ffd6aa6e39e9d8fb08c47e0acff6
parentee152cb5f83c76d81e199dbb7861712a3797f400
gcc-sanitizers: check gcc-build-internal before link

The ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget may not exist
when use the external sdk toolchain, we need check before link for it.

Fixed:
run.do_configure.12538: 149: cd: can't cd to sysroots/x86_64-linux/usr/include/gcc-build-internal-x86_64-wrs-linux

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-core on 20150204

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-devtools/gcc/gcc-sanitizers.inc