Tweaking the previous freebsd-spec.h for the long term.
authorDavid O'Brien <obrien@FreeBSD.org>
Fri, 14 Jan 2005 03:23:17 +0000 (03:23 +0000)
committerDavid O'Brien <obrien@gcc.gnu.org>
Fri, 14 Jan 2005 03:23:17 +0000 (03:23 +0000)
2005-01-13  David O'Brien  <obrien@FreeBSD.org>
* config/freebsd-spec.h:  Make KSE pthread lib logic the default.

From-SVN: r93628

gcc/ChangeLog
gcc/config/freebsd-spec.h

index 508a55489757c50aaf784464df0b89eb8342e4b2..bf7f0965c5c3c5e75aa29b4cc1e130c162b21342 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-13  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/freebsd-spec.h:  Make KSE pthread lib logic the default.
+
+
 2005-01-13  Richard Henderson  <rth@redhat.com>
 
        PR target/19009
index 398a9326a3cba832c5b192f98c1eb1e2eb67948a..6960bc7aba3fb02fa5759b1d67dd96d1a2f23228 100644 (file)
@@ -129,13 +129,7 @@ is built with the --enable-threads configure-time option.}         \
     %{pg:  -lc_p}                                                      \
   }"
 #else
-#if FBSD_MAJOR >= 5
-#define FBSD_LIB_SPEC "                                                        \
-  %{!shared:                                                           \
-    %{!pg: %{pthread:-lpthread} -lc}                                   \
-    %{pg:  %{pthread:-lpthread_p} -lc_p}                               \
-  }"
-#else
+#if FBSD_MAJOR < 5
 #define FBSD_LIB_SPEC "                                                        \
   %{!shared:                                                           \
     %{!pg:                                                             \
@@ -145,6 +139,12 @@ is built with the --enable-threads configure-time option.}         \
       %{!pthread:-lc_p}                                                        \
       %{pthread:-lc_r_p}}                                              \
   }"
+#else
+#define FBSD_LIB_SPEC "                                                        \
+  %{!shared:                                                           \
+    %{!pg: %{pthread:-lpthread} -lc}                                   \
+    %{pg:  %{pthread:-lpthread_p} -lc_p}                               \
+  }"
 #endif
 #endif