1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

link with -pthread = -nostdlib und -lc_r

not only using -lc_r what would result in linking in libc and libc_r
Submitted by:	Dirk Froemberg <ibex@physik.TU-Berlin.DE>
Obtained from:	John Birrell
This commit is contained in:
Andreas Klemm 1998-09-13 17:23:33 +00:00
parent 28a179bc5c
commit b78ea479a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13097
10 changed files with 110 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 31 13:09:12 1998
+++ configure Wed Sep 9 16:33:22 1998
@@ -3475,7 +3475,7 @@
echo "configure:3476: checking "named thread libs:"" >&5
if test "$with_named_thread" != "no"
then
- LIBS="$LIBS $with_named_thread"
+ LIBS="-pthread $LIBS"
with_posix_threads="yes"
with_mit_threads="no"
echo "$ac_t"""$with_named_thread"" 1>&6

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 31 13:09:12 1998
+++ configure Wed Sep 9 16:33:22 1998
@@ -3475,7 +3475,7 @@
echo "configure:3476: checking "named thread libs:"" >&5
if test "$with_named_thread" != "no"
then
- LIBS="$LIBS $with_named_thread"
+ LIBS="-pthread $LIBS"
with_posix_threads="yes"
with_mit_threads="no"
echo "$ac_t"""$with_named_thread"" 1>&6

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 31 13:09:12 1998
+++ configure Wed Sep 9 16:33:22 1998
@@ -3475,7 +3475,7 @@
echo "configure:3476: checking "named thread libs:"" >&5
if test "$with_named_thread" != "no"
then
- LIBS="$LIBS $with_named_thread"
+ LIBS="-pthread $LIBS"
with_posix_threads="yes"
with_mit_threads="no"
echo "$ac_t"""$with_named_thread"" 1>&6

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 31 13:09:12 1998
+++ configure Wed Sep 9 16:33:22 1998
@@ -3475,7 +3475,7 @@
echo "configure:3476: checking "named thread libs:"" >&5
if test "$with_named_thread" != "no"
then
- LIBS="$LIBS $with_named_thread"
+ LIBS="-pthread $LIBS"
with_posix_threads="yes"
with_mit_threads="no"
echo "$ac_t"""$with_named_thread"" 1>&6

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 31 13:09:12 1998
+++ configure Wed Sep 9 16:33:22 1998
@@ -3475,7 +3475,7 @@
echo "configure:3476: checking "named thread libs:"" >&5
if test "$with_named_thread" != "no"
then
- LIBS="$LIBS $with_named_thread"
+ LIBS="-pthread $LIBS"
with_posix_threads="yes"
with_mit_threads="no"
echo "$ac_t"""$with_named_thread"" 1>&6

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 31 13:09:12 1998
+++ configure Wed Sep 9 16:33:22 1998
@@ -3475,7 +3475,7 @@
echo "configure:3476: checking "named thread libs:"" >&5
if test "$with_named_thread" != "no"
then
- LIBS="$LIBS $with_named_thread"
+ LIBS="-pthread $LIBS"
with_posix_threads="yes"
with_mit_threads="no"
echo "$ac_t"""$with_named_thread"" 1>&6

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 31 13:09:12 1998
+++ configure Wed Sep 9 16:33:22 1998
@@ -3475,7 +3475,7 @@
echo "configure:3476: checking "named thread libs:"" >&5
if test "$with_named_thread" != "no"
then
- LIBS="$LIBS $with_named_thread"
+ LIBS="-pthread $LIBS"
with_posix_threads="yes"
with_mit_threads="no"
echo "$ac_t"""$with_named_thread"" 1>&6

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 31 13:09:12 1998
+++ configure Wed Sep 9 16:33:22 1998
@@ -3475,7 +3475,7 @@
echo "configure:3476: checking "named thread libs:"" >&5
if test "$with_named_thread" != "no"
then
- LIBS="$LIBS $with_named_thread"
+ LIBS="-pthread $LIBS"
with_posix_threads="yes"
with_mit_threads="no"
echo "$ac_t"""$with_named_thread"" 1>&6

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 31 13:09:12 1998
+++ configure Wed Sep 9 16:33:22 1998
@@ -3475,7 +3475,7 @@
echo "configure:3476: checking "named thread libs:"" >&5
if test "$with_named_thread" != "no"
then
- LIBS="$LIBS $with_named_thread"
+ LIBS="-pthread $LIBS"
with_posix_threads="yes"
with_mit_threads="no"
echo "$ac_t"""$with_named_thread"" 1>&6

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 31 13:09:12 1998
+++ configure Wed Sep 9 16:33:22 1998
@@ -3475,7 +3475,7 @@
echo "configure:3476: checking "named thread libs:"" >&5
if test "$with_named_thread" != "no"
then
- LIBS="$LIBS $with_named_thread"
+ LIBS="-pthread $LIBS"
with_posix_threads="yes"
with_mit_threads="no"
echo "$ac_t"""$with_named_thread"" 1>&6