diff options
author | obrien <obrien@FreeBSD.org> | 2002-05-01 19:19:22 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-05-01 19:19:22 +0000 |
commit | 7ba2aa946915a7a5c9d6fb75a548f2834312061d (patch) | |
tree | e84ca70648eb208a6164eff32dd77146dfaba40b /gnu | |
parent | 7c4d7211448ad4ae368cf07cc871c6052895b73f (diff) | |
download | FreeBSD-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.h | 4 |
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 |