fix for:
ERROR: QA Issue: No GNU_HASH in the elf binary

Signed-off-by: Rahul Kumar Gupta <[email protected]>
---
 meta-isg/common/recipes-extended/dpdk/dpdk.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk.inc 
b/meta-isg/common/recipes-extended/dpdk/dpdk.inc
index b92710a..6228e7f 100644
--- a/meta-isg/common/recipes-extended/dpdk/dpdk.inc
+++ b/meta-isg/common/recipes-extended/dpdk/dpdk.inc
@@ -85,13 +85,13 @@ do_compile () {
        unset LDFLAGS TARGET_LDFLAGS BUILD_LDFLAGS
 
        cd ${S}/${RTE_TARGET}
-       oe_runmake EXTRA_LDFLAGS="-L${STAGING_LIBDIR}" \
+       oe_runmake EXTRA_LDFLAGS="-L${STAGING_LIBDIR} --hash-style=gnu" \
                   EXTRA_CFLAGS="--sysroot=${STAGING_DIR_HOST} 
-I${STAGING_INCDIR}" \
                   CROSS="${TARGET_PREFIX}" \
                   prefix=""  LDFLAGS=""  WERROR_FLAGS="-w" V=1
 
        cd ${S}/examples/
-       oe_runmake EXTRA_LDFLAGS="-L${STAGING_LIBDIR}" \
+       oe_runmake EXTRA_LDFLAGS="-L${STAGING_LIBDIR} --hash-style=gnu" \
                   EXTRA_CFLAGS="--sysroot=${STAGING_DIR_HOST} 
-I${STAGING_INCDIR}" \
                   CROSS="${TARGET_PREFIX}" O="${S}/examples/$@/"
 }
-- 
1.9.1

-- 
_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to