Support linking against libgcc_r.
Submitted by: Luoqi Chen <luoqi@chen.ml.org>
This commit is contained in:
parent
a10a6b606b
commit
073f9b19ff
@ -1,3 +1,4 @@
|
||||
/* $Id$ */
|
||||
/* Base configuration file for all FreeBSD targets.
|
||||
Copyright (C) 1999 Free Software Foundation, Inc.
|
||||
|
||||
@ -71,6 +72,11 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef LIB_SPEC
|
||||
#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
|
||||
#define LIBGCC_SPEC \
|
||||
"%{!shared:%{!pthread:%{!kthread:libgcc.a%s}}%{pthread|kthread:libgcc_r.a%s}}"
|
||||
|
||||
|
||||
/* Code generation parameters. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user