aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc-ooo
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-12-18 01:45:03 +0800
committerobrien <obrien@FreeBSD.org>2004-12-18 01:45:03 +0800
commit017ef3105b9119c88acabb3105b02459de55c36f (patch)
tree76fda810226bf4c71de7ebb8fa138011ce793cac /lang/gcc-ooo
parent8fb77242bdaa9ecde8129619b5b920dc26e53d2c (diff)
downloadfreebsd-ports-gnome-017ef3105b9119c88acabb3105b02459de55c36f.tar.gz
freebsd-ports-gnome-017ef3105b9119c88acabb3105b02459de55c36f.tar.zst
freebsd-ports-gnome-017ef3105b9119c88acabb3105b02459de55c36f.zip
Catch -pthread up with the new KSE world order.
Diffstat (limited to 'lang/gcc-ooo')
-rw-r--r--lang/gcc-ooo/files/patch-freebsd-spec.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/gcc-ooo/files/patch-freebsd-spec.h b/lang/gcc-ooo/files/patch-freebsd-spec.h
new file mode 100644
index 000000000000..ae79ef99bdea
--- /dev/null
+++ b/lang/gcc-ooo/files/patch-freebsd-spec.h
@@ -0,0 +1,13 @@
+--- gcc/config/freebsd-spec.h.orig Tue Mar 2 14:34:55 2004
++++ gcc/config/freebsd-spec.h Thu Dec 16 10:19:11 2004
+@@ -132,8 +132,8 @@
+ #if FBSD_MAJOR >= 5
+ #define FBSD_LIB_SPEC " \
+ %{!shared: \
+- %{!pg: %{pthread:-lc_r} -lc} \
+- %{pg: %{pthread:-lc_r_p} -lc_p} \
++ %{!pg: %{pthread:-lpthread} -lc} \
++ %{pg: %{pthread:-lpthread} -lc_p} \
+ }"
+ #else
+ #define FBSD_LIB_SPEC " \