mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
autotools/libtool: Drop libtool sysroot patch as not needed
libtool auto detects the sysroot from gcc's parameters or configuration so we don't need to pass in this configuration separately to libtool. Whilst the option names do conflict with gcc/binutils, that is an issue for those projects to resolve, not us. Upstream libtool did reject the patch. We can drop this patch and simplify our code. (From OE-Core rev: 7c8553f81bccc3e8c2bb1116ee1e89f5f8af4c9e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -57,12 +57,6 @@ export CXXFLAGS_FOR_BUILD="${BUILD_CXXFLAGS}"
|
||||
export LD_FOR_BUILD = "${BUILD_LD}"
|
||||
export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"
|
||||
|
||||
def append_libtool_sysroot(d):
|
||||
# Only supply libtool sysroot option for non-native packages
|
||||
if not bb.data.inherits_class('native', d):
|
||||
return '--with-libtool-sysroot=${STAGING_DIR_HOST}'
|
||||
return ""
|
||||
|
||||
CONFIGUREOPTS = " --build=${BUILD_SYS} \
|
||||
--host=${HOST_SYS} \
|
||||
--target=${TARGET_SYS} \
|
||||
@@ -81,8 +75,7 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \
|
||||
--infodir=${infodir} \
|
||||
--mandir=${mandir} \
|
||||
--disable-silent-rules \
|
||||
${CONFIGUREOPT_DEPTRACK} \
|
||||
${@append_libtool_sysroot(d)}"
|
||||
${CONFIGUREOPT_DEPTRACK}"
|
||||
CONFIGUREOPT_DEPTRACK ?= "--disable-dependency-tracking"
|
||||
|
||||
CACHED_CONFIGUREVARS ?= ""
|
||||
|
||||
Reference in New Issue
Block a user