aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/freebsd.h
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2002-04-23 15:05:33 +0000
committerDavid O'Brien <obrien@gcc.gnu.org>2002-04-23 15:05:33 +0000
commit271f61fb29c6583bf4250100f19f86dcb5d2ef29 (patch)
tree2d692bcfab6ac128788d04f5b5f2c804cc930682 /gcc/config/freebsd.h
parentbdabbc80b9b04367e78137e0401c359799ee104e (diff)
downloadgcc-271f61fb29c6583bf4250100f19f86dcb5d2ef29.zip
gcc-271f61fb29c6583bf4250100f19f86dcb5d2ef29.tar.gz
gcc-271f61fb29c6583bf4250100f19f86dcb5d2ef29.tar.bz2
g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
2002-04-23 David O'Brien <obrien@FreeBSD.org> * g++spec.c: Use profiled libstdc++ and libm with -p/-pg. * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of these libraries. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20020422223253.A32678@redhat.com> From-SVN: r52667
Diffstat (limited to 'gcc/config/freebsd.h')
-rw-r--r--gcc/config/freebsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/freebsd.h b/gcc/config/freebsd.h
index cd09897..97b20c5 100644
--- a/gcc/config/freebsd.h
+++ b/gcc/config/freebsd.h
@@ -79,6 +79,8 @@ Boston, MA 02111-1307, USA. */
#undef WCHAR_UNSIGNED
#define WCHAR_UNSIGNED 0
+#define MATH_LIBRARY_PROFILE "-lm_p"
+
/* Code generation parameters. */
/* Use periods rather than dollar signs in special g++ assembler names.