summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranholt <anholt>2003-02-20 08:10:33 +0000
committeranholt <anholt>2003-02-20 08:10:33 +0000
commit0f2a160c3b2d61f4ef503423bd93a02b6cf5be6b (patch)
tree5a5955f1b56efb5e67ea3a6dc9d77d474ebc0df0
parentaa4cc690a2a394bcdb14d0e406dd2def7e7389e4 (diff)
Remove libXThrStub building for 5.0 after the appropriate libc stubs were added.
-rw-r--r--xc/config/cf/FreeBSD.cf11
1 files changed, 8 insertions, 3 deletions
diff --git a/xc/config/cf/FreeBSD.cf b/xc/config/cf/FreeBSD.cf
index bd110ceaf..6e6b99094 100644
--- a/xc/config/cf/FreeBSD.cf
+++ b/xc/config/cf/FreeBSD.cf
@@ -98,8 +98,13 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# if HasLibPthread
# define ThreadsLibraries -lpthread
# else
-# define BuildThreadStubLibrary YES
-# define NeedUIThrStubs YES
+# if OSRelVersion >= 500043
+# define BuildThreadStubLibrary NO
+# define NeedUIThrStubs NO
+# else
+# define BuildThreadStubLibrary YES
+# define NeedUIThrStubs YES
+# endif
# if (OSRelVersion >= 500016)
# define ThreadsLibraries -lc_r
# else
@@ -569,7 +574,7 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#endif
/*
- * A hack to work around an optimization problem with gcc 2.95.2
+ * A hack to work around an optimization problem with gcc 2.95.2 - 2.95.4
*/
#if OSMajorVersion == 4
#define GccOptBug295