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

Use libgcc_p.a when -pg is in effect.

I am committing this here rather than in gcc/config/freebsd.h because the
profiled libgcc only exists with the native system compiler.  It is not
created by a stock FSF build and we will never be able to get these bits
committed to the FSF CVS repo.  Thus this is very much a FreeBSD "native"
issue.
This commit is contained in:
David E. O'Brien 2002-02-24 06:05:22 +00:00
parent b24e2c8a23
commit 4cef291124
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91190

View File

@ -41,5 +41,9 @@
#define CROSS_STARTFILE_PREFIX PREFIX"/lib/"
#endif
/* For the native system compiler, we actually build libgcc in a profiled
version. So we should use it with -pg. */
#define LIBGCC_SPEC "%{!pg: -lgcc} %{pg: -lgcc_p}"
/* FreeBSD is 4.4BSD derived */
#define bsd4_4