summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Slater <joe.slater@windriver.com>2019-07-19 15:05:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-22 17:31:04 +0100
commitc68d44cd0ce3d1f886efd3eec56b2f832a585e25 (patch)
treefa45187abc627f4efa988b398571ea70c3ede57f
parente23c103434413caa7a221f635afa498a0b05fe94 (diff)
downloadpoky-c68d44cd0ce3d1f886efd3eec56b2f832a585e25.tar.gz
libtool: remove host information from libtool
Import patch from Debian. (From OE-Core rev: b2e0b383a17a3cd450adb3d86f7f818729438375) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xmeta/recipes-devtools/libtool/libtool/debian-no_hostname.patch21
-rw-r--r--meta/recipes-devtools/libtool/libtool_2.4.6.bb2
2 files changed, 22 insertions, 1 deletions
diff --git a/meta/recipes-devtools/libtool/libtool/debian-no_hostname.patch b/meta/recipes-devtools/libtool/libtool/debian-no_hostname.patch
new file mode 100755
index 0000000000..5add0cca3b
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/debian-no_hostname.patch
@@ -0,0 +1,21 @@
1libtool: remove host specific info from header file
2
3https://sources.debian.org/data/main/libt/libtool/2.4.6-10/debian/patches/
4 no_hostname.patch
5
6Upstream-Status: Inappropriate [not author]
7Signed-off-by: Joe Slater <joe.slater@windriver.com>
8
9---
10Index: libtool-2.4.6/m4/libtool.m4
11===================================================================
12--- libtool-2.4.6.orig/m4/libtool.m4
13+++ libtool-2.4.6/m4/libtool.m4
14@@ -728,7 +728,6 @@ _LT_CONFIG_SAVE_COMMANDS([
15 cat <<_LT_EOF >> "$cfgfile"
16 #! $SHELL
17 # Generated automatically by $as_me ($PACKAGE) $VERSION
18-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20
21 # Provide generalized library-building support services.
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.6.bb b/meta/recipes-devtools/libtool/libtool_2.4.6.bb
index f5fdd00e5e..a5715faaa9 100644
--- a/meta/recipes-devtools/libtool/libtool_2.4.6.bb
+++ b/meta/recipes-devtools/libtool/libtool_2.4.6.bb
@@ -1,6 +1,6 @@
1require libtool-${PV}.inc 1require libtool-${PV}.inc
2 2
3SRC_URI += "file://multilib.patch" 3SRC_URI += "file://multilib.patch file://debian-no_hostname.patch"
4 4
5RDEPENDS_${PN} += "bash" 5RDEPENDS_${PN} += "bash"
6 6