This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] change linux-gnu* -> linux* in libtool files
- From: Mike Frysinger <vapier at gentoo dot org>
- To: binutils at sourceware dot org
- Cc: gcc-patches at gcc dot gnu dot org, gdb-patches at sourceware dot org
- Date: Thu, 20 Apr 2006 23:05:54 -0400
- Subject: [patch] change linux-gnu* -> linux* in libtool files
- Geoman: IS A RETARD
upstream libtool changed libtool.m4 a while back to look for 'linux*)' instead
of 'linux-gnu*)' ... ive also tweaked the ltconfig accordingly
-mike
2006-04-10 Mike Frysinger <vapier@gentoo.org>
* libtool.m4: Accept linux* instead of just linux-gnu*.
* ltconfig: Likewise. Also accept linux-uclibc* as well as linux-gnu*.
--- libtool.m4
+++ libtool.m4
@@ -739,7 +739,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- ltconfig
+++ ltconfig
@@ -602,7 +602,7 @@
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
case $host_os in
-linux-gnu*) ;;
+linux-gnu*|linux-uclibc*) ;;
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
esac
@@ -1247,7 +1247,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
version_type=linux
need_lib_prefix=no
need_version=no