1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

-pg was causing a link with -lc_r... :-]

Submitted by:  Dmitry Khrustalev <dima@xyzzy.machaon.ru>
PR: 6287
This commit is contained in:
Peter Wemm 1998-04-13 14:12:34 +00:00
parent 593f0dec5d
commit 4af3a821f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35168
2 changed files with 2 additions and 2 deletions

View File

@ -501,7 +501,7 @@ do { \
/* Like the default, except no -lg, and no -p. */
#undef LIB_SPEC
#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_r}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}"
#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_p}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}"
/* Let gcc locate this for us according to the -m rules */
#undef LIBGCC_SPEC

View File

@ -501,7 +501,7 @@ do { \
/* Like the default, except no -lg, and no -p. */
#undef LIB_SPEC
#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_r}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}"
#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_p}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}"
/* Let gcc locate this for us according to the -m rules */
#undef LIBGCC_SPEC