[meta-freescale] [PATCH 25/52] xf86-video-imx-vivante: Set linker flags properly

Tom Hochstein tom.hochstein at nxp.com
Mon Jul 30 12:42:05 PDT 2018


Append LDFLAGS to LFLAGS instead of replacing LFLAGS.

Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
---
 recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.2.4.p1.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.2.4.p1.6.bb b/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.2.4.p1.6.bb
index fa3a1a3..9683930 100644
--- a/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.2.4.p1.6.bb
+++ b/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.2.4.p1.6.bb
@@ -27,10 +27,10 @@ INITSCRIPT_PARAMS = "start 99 2 3 4 5 ."
 EXTRA_OEMAKE += "prefix=${exec_prefix} \
                  sysroot=${STAGING_DIR_TARGET} \
                  SDKTARGETSYSROOT=${STAGING_DIR_HOST} \
-                 LFLAGS="${LDFLAGS}" \
                  BUSID_HAS_NUMBER=1 \
                  BUILD_IN_YOCTO=1 \
                  XSERVER_GREATER_THAN_13=1"
+TARGET_CC_ARCH += "${LDFLAGS}"
 
 PACKAGES =+ "xserver-xorg-extension-viv-autohdmi"
 
-- 
2.7.4



More information about the meta-freescale mailing list