diff options
-rw-r--r-- | meta/classes/image-mklibs.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass index e975f5d705..23456ccd96 100644 --- a/meta/classes/image-mklibs.bbclass +++ b/meta/classes/image-mklibs.bbclass | |||
@@ -40,6 +40,7 @@ mklibs_optimize_image_doit() { | |||
40 | --ldlib ${dynamic_loader} \ | 40 | --ldlib ${dynamic_loader} \ |
41 | --libdir ${baselib} \ | 41 | --libdir ${baselib} \ |
42 | --sysroot ${PKG_CONFIG_SYSROOT_DIR} \ | 42 | --sysroot ${PKG_CONFIG_SYSROOT_DIR} \ |
43 | --gcc-options "--sysroot=${PKG_CONFIG_SYSROOT_DIR}" \ | ||
43 | --root ${IMAGE_ROOTFS} \ | 44 | --root ${IMAGE_ROOTFS} \ |
44 | --target `echo ${TARGET_PREFIX} | sed 's/-$//' ` \ | 45 | --target `echo ${TARGET_PREFIX} | sed 's/-$//' ` \ |
45 | -d ${WORKDIR}/mklibs/dest \ | 46 | -d ${WORKDIR}/mklibs/dest \ |