aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1997-09-01 23:55:29 +0000
committerJim Wilson <wilson@gcc.gnu.org>1997-09-01 16:55:29 -0700
commit558a1e7cb3bd7c401f3152d1cd18c7d92afc157a (patch)
treec7e36cee69673b7c0c721c97e287e02b218fbba8
parentbc4ddc77a0384a256abbc001a2cb612426d55ca5 (diff)
downloadgcc-558a1e7cb3bd7c401f3152d1cd18c7d92afc157a.zip
gcc-558a1e7cb3bd7c401f3152d1cd18c7d92afc157a.tar.gz
gcc-558a1e7cb3bd7c401f3152d1cd18c7d92afc157a.tar.bz2
Fix sunos4/rs6000/powerpc/etc build problems with multilibbed libraries.
* configure.in (target_subdir): Set to libraries if enable_multilib. From-SVN: r15025
-rw-r--r--ChangeLog4
-rw-r--r--configure.in12
2 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 341c887..beb9a01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Sep 1 16:45:44 1997 Jim Wilson <wilson@cygnus.com>
+
+ * configure.in (target_subdir): Set to libraries if enable_multilib.
+
Wed Aug 27 16:15:11 1997 Jim Wilson <wilson@cygnus.com>
* config.guess: Update from gcc directory.
diff --git a/configure.in b/configure.in
index e251e85..70d8a87 100644
--- a/configure.in
+++ b/configure.in
@@ -244,12 +244,12 @@ if [ x"${host}" = x"${target}" ] ; then
# that are in the 'cross only' list
skipdirs="${skipdirs} ${cross_only}"
is_cross_compiler=no
- target_subdir=.
- case "${host}" in
- # We need multilib support for irix6, to get libiberty built
- # properly for o32 and n32.
- mips-sgi-irix6*) target_subdir=${host} ;;
- esac
+ # Default to --enable-multilib. See similar code below.
+ if [ x${enable_multilib} = xno ]; then
+ target_subdir=.
+ else
+ target_subdir=libraries
+ fi
else
# similarly, don't build the targets in the 'native only'
# list when building a cross compiler