gcc/gcc-final: Disable libcilkrts when using static libs
authorFloris Bos <bos@je-eigen-domein.nl>
Thu, 8 Sep 2016 14:33:15 +0000 (16:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 8 Sep 2016 19:55:01 +0000 (21:55 +0200)
commit84c913035058e18cad9e95976233e193f0cf6b43
treecc84efc12f3c5082f7f714b03350b539b2b887af
parent268e214b05dd7c35d57e71491e195ce4dcc78ded
gcc/gcc-final: Disable libcilkrts when using static libs

Disable libcilkrts when building static, as there is no static version:
https://software.intel.com/en-us/articles/intel-cilk-plus-runtime-library-libcilkrts-can-only-be-linked-dynamically/

Fixes the following toolchain build error when building for i386 and
BR2_STATIC_LIBS=y + BR2_TOOLCHAIN_BUILDROOT_CXX=y is set:

../../../libcilkrts/runtime/sysdep-unix.c:603:19:
fatal error: dlfcn.h: No such file or directory

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/gcc-final/gcc-final.mk