1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add option for linking with pthreads library.

Submitted by	: Brian Cully <shmit@rcn.com> but with revisions
PR		: 8389
This commit is contained in:
Robert Nordier 1999-01-24 11:12:03 +00:00
parent 3a242fc5b1
commit 543b678dd7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16287
2 changed files with 11 additions and 0 deletions

View File

@ -1406,6 +1406,7 @@ lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/K-ieee
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/K-noframe
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/K-noieee
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/K-prom
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/pthread
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/Versions
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/Xa
lib/TenDRA/machines/freebsd/%OSREL%/80x86/env/Xc

View File

@ -22,6 +22,16 @@ fixlib()
fi
}
#
# Update tcc common environment.
#
# Create $WRKSRC/src/lib/env/freebsd/common/80x86/pthread
cat >$WRKSRC/src/lib/env/freebsd/common/80x86/pthread <<EOF
/* Build with pthreads library */
+SYS_LIBC "-lc_r"
EOF
#
# Create tcc aout environment.
#