From ebdab8b6d9a7c02c35b31543fb9de25d3f8a35d3 Mon Sep 17 00:00:00 2001
From: dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 5 Mar 2004 21:03:19 +0000
Subject: [PATCH] 	* ltconfig: Disable building static libraries if
 building shared 	libraries on AIX 5L.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78984 138bc75d-0d04-0410-961f-82ee72b054a4
---
 ChangeLog | 5 +++++
 ltconfig  | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 015c3aa0027a..1ee31f28489d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-05  David Edelsohn  <edelsohn@gnu.org>
+
+	* ltconfig: Disable building static libraries if building shared
+	libraries on AIX 5L.
+
 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
 
 	* configure.in (mips64*-*-linux*): Override mips*-*-linux* case
diff --git a/ltconfig b/ltconfig
index 9c420ace7262..0d97409d7990 100755
--- a/ltconfig
+++ b/ltconfig
@@ -1592,7 +1592,7 @@ aix3*)
   fi
   ;;
 
-aix4*)
+aix4* | aix5*)
   test "$enable_shared" = yes && enable_static=no
   ;;
 esac
-- 
GitLab