aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc-ooo/files/patch-freebsd-spec.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc-ooo/files/patch-freebsd-spec.h')
-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 " \