summaryrefslogtreecommitdiffstats
path: root/meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2018-10-03 00:05:28 +0500
committerAnuj Mittal <anuj.mittal@intel.com>2018-10-18 10:10:22 +0800
commit8d202b0a3c5408cf6768750de9f05deae683cbb8 (patch)
treea86fca9b770bd24597bd4a9340fd28ed9d8f052b /meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch
parent54aab0196f26de76dc8a3c52e42f380501b18c9f (diff)
downloadmeta-dpdk-sumo.tar.gz
dpdk: support build with external & multilib toolchainssumo
This fixes dpdk build when using an external toolchain by adding the HOST_CC_ARCH & TOOLCHAIN_OPTIONS to EXTRA_CFLAGS the way standard Yocto does it to gather all the necessary flags for compilation. The TOOLCHAIN_OPTIONS variable also provides the sysroot flag, so no need to explicitly provide the sysroot. This commit also fixes the build when using a multilib toolchain by adding the LDEMULATION flags to the LDFLAGS via TUNE_LDARGS which are required while linking with a multilib toolchain. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'meta-dpdk/recipes-extended/dpdk-dev-libibverbs/files/0001-Fix-build-with-clang.patch')
0 files changed, 0 insertions, 0 deletions