From 00ed89e144213f7e7ee98bfb6ab32fff87c17379 Mon Sep 17 00:00:00 2001
From: aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 22 May 2001 10:40:41 +0000
Subject: [PATCH] * ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
 [aix4*|aix5*]: Prepend blank.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42438 138bc75d-0d04-0410-961f-82ee72b054a4
---
 ChangeLog   | 5 +++++
 ltcf-cxx.sh | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2f029073ac06..38909b78a91d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-22  Alexandre Oliva  <aoliva@redhat.com>
+
+	* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
+	[aix4*|aix5*]: Prepend blank.
+
 2001-05-20  Alexandre Oliva  <aoliva@redhat.com>
 
 	* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh
index 29f8ffe5d950..5d7d87770aba 100644
--- a/ltcf-cxx.sh
+++ b/ltcf-cxx.sh
@@ -196,8 +196,8 @@ case $host_os in
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
         # Warning - without using the other run time loading flags, -berok will
         #           link without error, but may produce a broken library.
-        no_undefined_flag='${wl}-bnoerok'
-        allow_undefined_flag='${wl}-berok'
+        no_undefined_flag=' ${wl}-bnoerok'
+        allow_undefined_flag=' ${wl}-berok'
         # -bexpall does not export symbols beginning with underscore (_)
         always_export_symbols=yes
         # Exported symbols can be pulled into shared objects from archives
-- 
GitLab