aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/freebsd.h
diff options
context:
space:
mode:
authorobrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-23 15:05:33 +0000
committerobrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-23 15:05:33 +0000
commit6ce8155a476d07d64cf482f2324faefbd5d726ae (patch)
tree2d692bcfab6ac128788d04f5b5f2c804cc930682 /gcc/config/freebsd.h
parent60b39823eabbb9aae3e91e5c03d888682b6c8563 (diff)
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> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52667 138bc75d-0d04-0410-961f-82ee72b054a4
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 cd09897c5b2..97b20c5232b 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.