[oe-commits] [openembedded-core] 04/83: bitbake.conf: Drop BUILDSDK_LDFLAGS rpath, rpath-link

git at git.openembedded.org git at git.openembedded.org
Fri Jul 1 15:31:32 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 35f24931072bc60df50abe2fa3955dde5096f272
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Jun 22 07:24:16 2016 +0100

    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.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/conf/bitbake.conf | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index a72d2f6..14b56cc 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -522,12 +522,7 @@ export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \
                         -Wl,-rpath,${STAGING_BASE_LIBDIR_NATIVE} \
                         -Wl,-O1"
 
-BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \
-                    -Wl,-rpath-link,${STAGING_LIBDIR} \
-                    -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"
+BUILDSDK_LDFLAGS = "-Wl,-O1"
 
 LINKER_HASH_STYLE ??= "gnu"
 # mips does not support GNU hash style therefore we override

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list