diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-17 10:40:36 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-17 10:40:36 +0000 |
commit | 70dc1470118bb4afd39fe2efb031eb2a7080dac6 (patch) | |
tree | 9905c9ee1958ca74039a913565a775b332f1cb81 /meta/conf | |
parent | 551ae761ebd098ebec45253d5474e297dea0ea01 (diff) | |
download | poky-70dc1470118bb4afd39fe2efb031eb2a7080dac6.tar.gz |
sdk.bbclass: Set rpath correctly for sdk binaries and use the target prefix to ensure sdk and native staging don't mix.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3501 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 75a69f6dac..e392395d68 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -368,6 +368,11 @@ export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive" | |||
368 | export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \ | 368 | export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \ |
369 | -Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} \ | 369 | -Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} \ |
370 | -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-O1" | 370 | -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-O1" |
371 | |||
372 | BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \ | ||
373 | -Wl,-rpath-link,${STAGING_LIBDIR} \ | ||
374 | -Wl,-rpath,${libdir} -Wl,-O1" | ||
375 | |||
371 | export LDFLAGS = "${TARGET_LDFLAGS}" | 376 | export LDFLAGS = "${TARGET_LDFLAGS}" |
372 | export TARGET_LDFLAGS = "-Wl,-O1" | 377 | export TARGET_LDFLAGS = "-Wl,-O1" |
373 | #export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}${layout_libdir} \ | 378 | #export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}${layout_libdir} \ |