summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-08 19:58:31 +0000
committerobrien <obrien@FreeBSD.org>2002-06-08 19:58:31 +0000
commitec1445e1ae04f2702985c6ef2925b564ce7eda0a (patch)
tree35bb401c213a52abefe13906c978a7b6f356f0e2 /gnu
parente752ebdffb48890daf831f6efeeff8195d249903 (diff)
downloadFreeBSD-src-ec1445e1ae04f2702985c6ef2925b564ce7eda0a.zip
FreeBSD-src-ec1445e1ae04f2702985c6ef2925b564ce7eda0a.tar.gz
Restore revision 1.15 (use profiled C++ libs) which wasn't on the WIP_GCC31
branch and thus was lost in the shuffle on the move to Gcc 3.1.
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 692886b..ce6c982 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -48,7 +48,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