diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-09-14 16:58:55 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-09-14 16:58:55 (GMT) |
commit | c51ba7ac62df96bca8ee1671b2a4400720a8b639 (patch) | |
tree | 432219729cf7f6cdebd1ee3d2cff4cf04b6cf35e /patches/ltrace/0.5.2/130-fix-build-with-exotic-linux-host-OS.patch | |
parent | 192d66e56320510596f9409d195ae821b5b61907 (diff) |
debug/ltrace: fix build with /exotic/ linux-host OS
For ARM EABI hosts (ct-ng's target), the tupple ends in 'gnueabi'
For uClibc-based toolchains, the tuple ends in '-uclibc.*'
Make ltrace recognise those tuples as being the same as 'linux-gnu'
Diffstat (limited to 'patches/ltrace/0.5.2/130-fix-build-with-exotic-linux-host-OS.patch')
-rw-r--r-- | patches/ltrace/0.5.2/130-fix-build-with-exotic-linux-host-OS.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/ltrace/0.5.2/130-fix-build-with-exotic-linux-host-OS.patch b/patches/ltrace/0.5.2/130-fix-build-with-exotic-linux-host-OS.patch new file mode 100644 index 0000000..20396d6 --- /dev/null +++ b/patches/ltrace/0.5.2/130-fix-build-with-exotic-linux-host-OS.patch @@ -0,0 +1,26 @@ +diff -durN ltrace-0.5.2.orig/configure ltrace-0.5.2/configure +--- ltrace-0.5.2.orig/configure 2009-09-14 18:47:45.000000000 +0200 ++++ ltrace-0.5.2/configure 2009-09-14 18:49:18.000000000 +0200 +@@ -1829,6 +1829,9 @@ + linux-gnu*) host_os=linux-gnu + esac + HOST_OS="$host_os" ++case "${HOST_OS}" in ++ linux-*) HOST_OS=linux-gnu;; ++esac + + + ac_ext=c +diff -durN ltrace-0.5.2.orig/configure.ac ltrace-0.5.2/configure.ac +--- ltrace-0.5.2.orig/configure.ac 2009-09-14 18:47:45.000000000 +0200 ++++ ltrace-0.5.2/configure.ac 2009-09-14 18:49:18.000000000 +0200 +@@ -10,6 +10,9 @@ + linux-gnu*) host_os=linux-gnu + esac + HOST_OS="$host_os" ++case "${HOST_OS}" in ++ linux-*) HOST_OS=linux-gnu;; ++esac + AC_SUBST(HOST_OS) + HOST_ARCH="$host_cpu" + AC_SUBST(HOST_ARCH) |