diff options
author | DJ Delorie <dj@redhat.com> | 2006-04-19 00:57:59 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2006-04-19 00:57:59 +0000 |
commit | a481dbb719c8f6c07d1910ea633ca467cf51a857 (patch) | |
tree | 9d83bbb1ad3c7b45bdbde071563a71756964b158 /configure.in | |
parent | 9e5249ce6b4e01c91786e4f2253af79851e122e3 (diff) | |
download | gdb-a481dbb719c8f6c07d1910ea633ca467cf51a857.zip gdb-a481dbb719c8f6c07d1910ea633ca467cf51a857.tar.gz gdb-a481dbb719c8f6c07d1910ea633ca467cf51a857.tar.bz2 |
* configure.in (m32c): Build libstdc++-v3. Pass flags to
reference libgloss so that libssp can be built in a combined
tree.
* configure: Regenerate.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/configure.in b/configure.in index b6ef515..cdfa7d8 100644 --- a/configure.in +++ b/configure.in @@ -445,9 +445,6 @@ case "${target}" in *-*-vxworks*) noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}" ;; - m32c-*-*) - noconfigdirs="$noconfigdirs target-libstdc++-v3" - ;; alpha*-dec-osf*) # ld works, but does not support shared libraries. # newlib is not 64 bit ready. I'm not sure about fileutils. @@ -2129,6 +2126,20 @@ if test "x${use_gnu_ld}" = x && FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld' fi +# Search for other target-specific linker scripts and such. +case "${target}" in + m32c-*-* ) + if test -d ${srcdir}/libgloss/m32c; then + # This is for crt0.o + FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/m32c' + # This is for r8c.ld + FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/m32c' + # This is for libnosys.a + FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys' + fi + ;; +esac + # Makefile fragments. for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag; do |