mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
Add hooks for John Birrell's kernel thread support library.
Submitted by: John Birrell <jb@cimlogic.com.au>
This commit is contained in:
parent
9cb13c2344
commit
ebdff85b87
2 changed files with 2 additions and 2 deletions
|
|
@ -483,7 +483,7 @@ do { \
|
|||
|
||||
/* Like the default, except no -lg, and no -p. */
|
||||
#undef LIB_SPEC
|
||||
#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:-lc}%{pthread:-lc_r}}%{pg:%{!pthread:-lc_p}%{pthread:-lc_r_p}}}"
|
||||
#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}}}"
|
||||
|
||||
/* Let gcc locate this for us according to the -m rules */
|
||||
#undef LIBGCC_SPEC
|
||||
|
|
|
|||
|
|
@ -483,7 +483,7 @@ do { \
|
|||
|
||||
/* Like the default, except no -lg, and no -p. */
|
||||
#undef LIB_SPEC
|
||||
#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:-lc}%{pthread:-lc_r}}%{pg:%{!pthread:-lc_p}%{pthread:-lc_r_p}}}"
|
||||
#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}}}"
|
||||
|
||||
/* Let gcc locate this for us according to the -m rules */
|
||||
#undef LIBGCC_SPEC
|
||||
|
|
|
|||
Loading…
Reference in a new issue