summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-17 10:40:36 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-17 10:40:36 +0000
commit70dc1470118bb4afd39fe2efb031eb2a7080dac6 (patch)
tree9905c9ee1958ca74039a913565a775b332f1cb81 /meta/conf
parent551ae761ebd098ebec45253d5474e297dea0ea01 (diff)
downloadpoky-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.conf5
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"
368export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \ 368export 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
372BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \
373 -Wl,-rpath-link,${STAGING_LIBDIR} \
374 -Wl,-rpath,${libdir} -Wl,-O1"
375
371export LDFLAGS = "${TARGET_LDFLAGS}" 376export LDFLAGS = "${TARGET_LDFLAGS}"
372export TARGET_LDFLAGS = "-Wl,-O1" 377export TARGET_LDFLAGS = "-Wl,-O1"
373#export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}${layout_libdir} \ 378#export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}${layout_libdir} \