diff options
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 43eedad046..d0513637d0 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -49,6 +49,7 @@ bindir_native = "${prefix_native}/bin" | |||
49 | sbindir_native = "${prefix_native}/sbin" | 49 | sbindir_native = "${prefix_native}/sbin" |
50 | includedir_native = "${prefix_native}/include" | 50 | includedir_native = "${prefix_native}/include" |
51 | libdir_native = "${prefix_native}/lib" | 51 | libdir_native = "${prefix_native}/lib" |
52 | base_libdir_native = "/lib" | ||
52 | datadir_native = "${prefix_native}/share" | 53 | datadir_native = "${prefix_native}/share" |
53 | bindir_cross = "/bin" | 54 | bindir_cross = "/bin" |
54 | bindir_crossscripts = "${bindir}/crossscripts" | 55 | bindir_crossscripts = "${bindir}/crossscripts" |
@@ -330,6 +331,7 @@ STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}${bindir_native}" | |||
330 | STAGING_BINDIR_CROSS = "${STAGING_BINDIR}/crossscripts" | 331 | STAGING_BINDIR_CROSS = "${STAGING_BINDIR}/crossscripts" |
331 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" | 332 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" |
332 | STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${libdir_native}" | 333 | STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${libdir_native}" |
334 | STAGING_BASE_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${base_libdir_native}" | ||
333 | STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}${includedir_native}" | 335 | STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}${includedir_native}" |
334 | STAGING_ETCDIR_NATIVE = "${STAGING_DIR_NATIVE}${sysconfdir_native}" | 336 | STAGING_ETCDIR_NATIVE = "${STAGING_DIR_NATIVE}${sysconfdir_native}" |
335 | STAGING_DATADIR_NATIVE = "${STAGING_DIR_NATIVE}${datadir_native}" | 337 | STAGING_DATADIR_NATIVE = "${STAGING_DIR_NATIVE}${datadir_native}" |
@@ -462,8 +464,12 @@ export CXXFLAGS = "${TARGET_CXXFLAGS}" | |||
462 | export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive" | 464 | export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive" |
463 | 465 | ||
464 | export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \ | 466 | export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \ |
467 | -L${STAGING_BASE_LIBDIR_NATIVE} \ | ||
465 | -Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} \ | 468 | -Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} \ |
466 | -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-O1" | 469 | -Wl,-rpath-link,${STAGING_BASE_LIBDIR_NATIVE} \ |
470 | -Wl,-rpath,${STAGING_LIBDIR_NATIVE} \ | ||
471 | -Wl,-rpath,${STAGING_BASE_LIBDIR_NATIVE} \ | ||
472 | -Wl,-O1" | ||
467 | 473 | ||
468 | BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \ | 474 | BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \ |
469 | -Wl,-rpath-link,${STAGING_LIBDIR} \ | 475 | -Wl,-rpath-link,${STAGING_LIBDIR} \ |