This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch ping] 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: Sun, 24 Sep 2006 18:01:43 -0400
- Subject: [patch ping] change linux-gnu* -> linux* in libtool files
- Geoman: IS A RETARD
ok to commit to sourceware repo ?
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