diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-22 07:24:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-01 16:22:40 +0100 |
commit | 2fcece7adec44c76f1818e8fbbb11f88e8e54c71 (patch) | |
tree | cddcca84d8f7fcbfd89cfe0cbca0c101fcb4bbd8 | |
parent | 2ef717dda7baa43cc59bef5355ea1297d4e942e6 (diff) | |
download | poky-2fcece7adec44c76f1818e8fbbb11f88e8e54c71.tar.gz |
bitbake.conf: Drop BUILDSDK_LDFLAGS rpath, rpath-link
The SDK used to work differently and didn't include its own libc/loader.
In that case, these options were needed to correctly handle the different
library locations. With the modern relocatable SDK, we don't need these
options any more as the default paths in the dynamic loader are good enough.
They just given potential for errors so drop them.
(From OE-Core rev: 35f24931072bc60df50abe2fa3955dde5096f272)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/bitbake.conf | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index a72d2f6054..14b56ccca9 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -522,12 +522,7 @@ export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \ | |||
522 | -Wl,-rpath,${STAGING_BASE_LIBDIR_NATIVE} \ | 522 | -Wl,-rpath,${STAGING_BASE_LIBDIR_NATIVE} \ |
523 | -Wl,-O1" | 523 | -Wl,-O1" |
524 | 524 | ||
525 | BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \ | 525 | BUILDSDK_LDFLAGS = "-Wl,-O1" |
526 | -Wl,-rpath-link,${STAGING_LIBDIR} \ | ||
527 | -Wl,-rpath,${libdir} -Wl,-O1 \ | ||
528 | -L${STAGING_DIR_HOST}${base_libdir} \ | ||
529 | -Wl,-rpath-link,${STAGING_DIR_HOST}${base_libdir} \ | ||
530 | -Wl,-rpath,${base_libdir} -Wl,-O1" | ||
531 | 526 | ||
532 | LINKER_HASH_STYLE ??= "gnu" | 527 | LINKER_HASH_STYLE ??= "gnu" |
533 | # mips does not support GNU hash style therefore we override | 528 | # mips does not support GNU hash style therefore we override |