summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-01 19:19:22 +0000
committerobrien <obrien@FreeBSD.org>2002-05-01 19:19:22 +0000
commit7ba2aa946915a7a5c9d6fb75a548f2834312061d (patch)
treee84ca70648eb208a6164eff32dd77146dfaba40b /gnu
parent7c4d7211448ad4ae368cf07cc871c6052895b73f (diff)
downloadFreeBSD-src-7ba2aa946915a7a5c9d6fb75a548f2834312061d.zip
FreeBSD-src-7ba2aa946915a7a5c9d6fb75a548f2834312061d.tar.gz
Add support for using the profiled versions of the C++ (and related) libs.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc_tools/freebsd-native.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
index 51e4a49..6243d27 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -42,7 +42,9 @@
/* 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}"
+#define LIBGCC_SPEC "%{!pg: -lgcc} %{pg: -lgcc_p}"
+#define LIBSTDCXX_PROFILE "-lstdc++_p"
+#define MATH_LIBRARY_PROFILE "-lm_p"
/* FreeBSD is 4.4BSD derived */
#define bsd4_4
OpenPOWER on IntegriCloud