Skip to contentSkip to conversation

libtool: Fix option parsing performance regression

PATCH New Richard Purdie 1 participant 1 message Feb 10, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtool: Fix option parsing performance regression

Cut and paste the pieces of build-aux/options-parser inline into the main ltmain.sh code. This removes a performance degradation caused by the repeated calls to func_quote_for_eval, the mechanism funclib uses to construct the functions used for option parsing.

meta/recipes-devtools/libtool/libtool-2.4.5.inc +1 -0
index 17169f7..4bc1aa8 100644
@@ -19,6 +19,7 @@ SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
            file://fix-resolve-lt-sysroot.patch \
            file://nohardcodepaths.patch \
            file://avoid-running-automake-autoconf-version.patch \
+           file://unwind-opt-parsing.patch \
           "
 
 SRC_URI[md5sum] = "7d30ed9fa6bb11270ebb31639a37bd54"
meta/recipes-devtools/libtool/libtool/unwind-opt-parsing.patch new file +179 -0

179 lines not on this page · raw message