From fe7378d2bff681d1128bddcc3267e00fd80c3a6a Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sun, 3 Oct 2004 10:00:39 +0200 Subject: [PATCH] re PR target/17443 (--enable-threads=single is ignored) PR target/17443 * config.gcc (i?86-*-solaris2*): Restore correct logic for --enable-threads option. (sparc64-*-solaris2*): Likewise. (sparc-*-solaris2*): Likewise. From-SVN: r88442 --- gcc/ChangeLog | 8 ++++++++ gcc/config.gcc | 15 ++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c081a91a5f..7b953222222 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2004-10-03 Eric Botcazou + + 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 * config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define. diff --git a/gcc/config.gcc b/gcc/config.gcc index 0ec389e6ef0..9b7800eb1fa 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*) -- 2.30.2