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:
parent
593f0dec5d
commit
4af3a821f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35168
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user