summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libtool
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/libtool')
-rw-r--r--meta/recipes-devtools/libtool/libtool-2.4.5.inc1
-rw-r--r--meta/recipes-devtools/libtool/libtool/libtool-don-t-execute-automake-and-autoconf-on-every.patch71
2 files changed, 72 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/libtool-2.4.5.inc b/meta/recipes-devtools/libtool/libtool-2.4.5.inc
index 88e281f678..0f6bdc83ee 100644
--- a/meta/recipes-devtools/libtool/libtool-2.4.5.inc
+++ b/meta/recipes-devtools/libtool/libtool-2.4.5.inc
@@ -19,6 +19,7 @@ SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
19 file://fix-resolve-lt-sysroot.patch \ 19 file://fix-resolve-lt-sysroot.patch \
20 file://nohardcodepaths.patch \ 20 file://nohardcodepaths.patch \
21 file://unwind-opt-parsing.patch \ 21 file://unwind-opt-parsing.patch \
22 file://libtool-don-t-execute-automake-and-autoconf-on-every.patch \
22 " 23 "
23 24
24SRC_URI[md5sum] = "7d30ed9fa6bb11270ebb31639a37bd54" 25SRC_URI[md5sum] = "7d30ed9fa6bb11270ebb31639a37bd54"
diff --git a/meta/recipes-devtools/libtool/libtool/libtool-don-t-execute-automake-and-autoconf-on-every.patch b/meta/recipes-devtools/libtool/libtool/libtool-don-t-execute-automake-and-autoconf-on-every.patch
new file mode 100644
index 0000000000..87ffae12ee
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/libtool-don-t-execute-automake-and-autoconf-on-every.patch
@@ -0,0 +1,71 @@
1From 408cfb9c5fa8a666917167ffb806cb19deded429 Mon Sep 17 00:00:00 2001
2From: "Gary V. Vaughan" <gary@gnu.org>
3Date: Fri, 6 Feb 2015 12:58:34 +0000
4Subject: [PATCH] libtool: don't execute automake and autoconf on every
5 invocation.
6
7Regression from 2.4.2 was causing noticable slow-down in builds
8that call libtool many times.
9* build-aux/ltmain.in (func_help): Override func_help() from
10gl/build-aux/options-parser to only run automake --version and
11autoconf --version when libtool --help is executed on the command
12line.
13* NO-THANKS: Add Robert Yang.
14Reported by Robert Yang
15
16Signed-off-by: Gary V. Vaughan <gary@gnu.org>
17
18Updated: Change NO-THANKS to THANKS to apply the patch since upstream
19renamed it.
20
21Upstream-Stauts: Backport
22
23Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
24
25---
26 THANKS | 1 +
27 build-aux/ltmain.in | 9 ++++++++-
28 2 files changed, 9 insertions(+), 1 deletion(-)
29
30diff --git a/THANKS b/THANKS
31index 0ab162d..aa7aa8c 100644
32--- a/THANKS
33+++ b/THANKS
34@@ -258,6 +258,7 @@ Robert Garron Robert.Garron@Access3000.net
35 Robert Millan rmh@aybabtu.com
36 Robert Ă–gren lists@roboros.com
37 Roberto Bagnara bagnara@cs.unipr.it
38+Robert Yang liezhi.yang@windriver.com
39 Roger Cornelius rac@tenzing.org
40 Roland Mainz roland.mainz@nrubsig.org
41 Roumen Petrov bugtrack@roumenpetrov.info
42diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
43index 46a0bb5..d5cf07a 100644
44--- a/build-aux/ltmain.in
45+++ b/build-aux/ltmain.in
46@@ -127,7 +127,12 @@ usage_message="Options:
47 "
48
49 # Additional text appended to 'usage_message' in response to '--help'.
50-long_help_message=$long_help_message"
51+func_help ()
52+{
53+ $debug_cmd
54+
55+ func_usage_message
56+ $ECHO "$long_help_message
57
58 MODE must be one of the following:
59
60@@ -158,6 +163,8 @@ include the following information:
61 Report bugs to <@PACKAGE_BUGREPORT@>.
62 GNU @PACKAGE@ home page: <@PACKAGE_URL@>.
63 General help using GNU software: <http://www.gnu.org/gethelp/>."
64+ exit 0
65+}
66
67
68 # func_lo2o OBJECT-NAME
69--
701.7.9.5
71