diff options
Diffstat (limited to 'ld/configure.ac')
-rw-r--r-- | ld/configure.ac | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ld/configure.ac b/ld/configure.ac index b8241fe..e306c1d 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -28,6 +28,19 @@ AM_INIT_AUTOMAKE AM_SILENT_RULES([yes]) AM_MAINTAINER_MODE +case $target in + *-*-solaris2*) + case "$SHELL" in + *bash*) + ;; + *) + # PR 32580: Force use of bash to avoid corrupt linker scripts. + SHELL=/bin/bash + ;; + esac + ;; +esac + AC_PROG_CC AC_PROG_CXX AC_PROG_GREP @@ -313,7 +326,7 @@ esac], [case "${target}" in # Enable gnu hash only on GNU targets, but not mips mips*-*-*) enable_default_hash_style=sysv ;; - *-*-gnu* | *-*-linux* | *-*-nacl*) enable_default_hash_style=both ;; + *-*-gnu* | *-*-linux*) enable_default_hash_style=both ;; *) enable_default_hash_style=sysv ;; esac]) |