aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2018-11-14 04:06:57 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2018-11-19 10:17:28 -0200
commit930368e5d76cf0b5582ae06e450dc83725b1274f (patch)
treef70d7cb5595069b62fe8a5bb1aa1a7e1059e18fc /recipes-extended
parent9594fe7247fdcc4bc6a5080c966545cdd5d2230b (diff)
downloadmeta-freescale-930368e5d76cf0b5582ae06e450dc83725b1274f.tar.gz
meta-freescale-930368e5d76cf0b5582ae06e450dc83725b1274f.tar.bz2
meta-freescale-930368e5d76cf0b5582ae06e450dc83725b1274f.zip
dpdk: add '-fPIC' to CPU_CFLAGS
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/dpdk/dpdk_17.11.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/dpdk/dpdk_17.11.bb b/recipes-extended/dpdk/dpdk_17.11.bb
index 1cfecda6..b32febd9 100644
--- a/recipes-extended/dpdk/dpdk_17.11.bb
+++ b/recipes-extended/dpdk/dpdk_17.11.bb
@@ -23,7 +23,7 @@ export RTE_TARGET = "${ARCH}-${DPAA_VER}-linuxapp-gcc"
export ETHTOOL_LIB_PATH = "${S}/examples/ethtool/lib/${RTE_TARGET}/"
EXTRA_OEMAKE += 'ARCH="${ARCH}" CROSS="${TARGET_PREFIX}" \
- CPU_CFLAGS="--sysroot=${STAGING_DIR_HOST}" RTE_SDK="${S}" \
+ CPU_CFLAGS="-fPIC --sysroot=${STAGING_DIR_HOST}" RTE_SDK="${S}" \
OPENSSL_PATH="${STAGING_DIR_HOST}" RTE_KERNELDIR="${STAGING_KERNEL_DIR}" \
RTE_KERNELDIR_OUT="${STAGING_KERNEL_BUILDDIR}" \
'