summaryrefslogtreecommitdiff
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-14 17:39:49 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-14 17:39:49 +0100
commitf9262fabad55217eaeb0d19c9350100fa92b46c4 (patch)
treee772c8520742481efb1484d631dc26ce926f0f99 /meta/conf
parentf60aa088b3cd00dcf60e499f789981970f05ed89 (diff)
downloadopenembedded-core-f9262fabad55217eaeb0d19c9350100fa92b46c4.tar.gz
openembedded-core-f9262fabad55217eaeb0d19c9350100fa92b46c4.tar.bz2
openembedded-core-f9262fabad55217eaeb0d19c9350100fa92b46c4.zip
bitbake.conf: Update sdk build flags after layout changes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 492ed9678a..ea584097e4 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -427,7 +427,10 @@ export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \
BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \
-Wl,-rpath-link,${STAGING_LIBDIR} \
- -Wl,-rpath,${libdir} -Wl,-O1"
+ -Wl,-rpath,${libdir} -Wl,-O1 \
+ -L${STAGING_DIR_HOST}${base_libdir} \
+ -Wl,-rpath-link,${STAGING_DIR_HOST}${base_libdir} \
+ -Wl,-rpath,${base_libdir} -Wl,-O1"
export LDFLAGS = "${TARGET_LDFLAGS}"
export TARGET_LDFLAGS = "-Wl,-O1"