diff options
| -rw-r--r-- | gcc/ChangeLog | 8 | ||||
| -rw-r--r-- | gcc/config.gcc | 15 |
2 files changed, 14 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c081a9..7b95322 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2004-10-03 Eric Botcazou <ebotcazou@libertysurf.fr> + + PR target/17443 + * config.gcc (i?86-*-solaris2*): Restore correct logic + for --enable-threads option. + (sparc64-*-solaris2*): Likewise. + (sparc-*-solaris2*): Likewise. + 2004-10-03 Alan Modra <amodra@bigpond.net.au> * config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define. diff --git a/gcc/config.gcc b/gcc/config.gcc index 0ec389e..9b7800e 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1030,9 +1030,8 @@ i[34567]86-*-solaris2*) esac extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" case ${enable_threads}:${have_pthread_h}:${have_thread_h} in - no:*:*) ;; - *:yes:* ) thread_file=posix ;; - yes:*:* | *:*:yes ) thread_file=solaris ;; + "":yes:* | yes:yes:* ) thread_file=posix ;; + "":*:yes | yes:*:yes ) thread_file=solaris ;; esac ;; i[34567]86-*-sysv5*) # Intel x86 on System V Release 5 @@ -1883,9 +1882,8 @@ sparc64-*-solaris2* | sparcv9-*-solaris2*) tm_p_file="${tm_p_file} sol2-protos.h" extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o" case ${enable_threads}:${have_pthread_h}:${have_thread_h} in - no:*:*) ;; - *:yes:* ) thread_file=posix ;; - yes:*:* | *:*:yes ) thread_file=solaris ;; + "":yes:* | yes:yes:* ) thread_file=posix ;; + "":*:yes | yes:*:yes ) thread_file=solaris ;; esac need_64bit_hwint=yes ;; @@ -1927,9 +1925,8 @@ sparc-*-solaris2*) tm_p_file="${tm_p_file} sol2-protos.h" extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" case ${enable_threads}:${have_pthread_h}:${have_thread_h} in - no:*:*) ;; - *:yes:* ) thread_file=posix ;; - yes:*:* | *:*:yes ) thread_file=solaris ;; + "":yes:* | yes:yes:* ) thread_file=posix ;; + "":*:yes | yes:*:yes ) thread_file=solaris ;; esac ;; sparc-*-sysv4*) |
