summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-02-24 23:22:51 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-02-24 23:22:51 +0000
commit9942d03c36383c84201922781ce4695aa9c3de80 (patch)
treee8ad78255e49ef296f3ea027fb639e55334f6304 /gnu/usr.bin
parent5e7ef0a58c9e04427b471d97971092a1f0646b23 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/cc/cc_tools/freebsd-native.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
index f1063fef5549..a1ea82b03044 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -47,5 +47,9 @@
#define STANDARD_STARTFILE_PREFIX PREFIX"/lib/"
+/* 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}"
+
/* FreeBSD is 4.4BSD derived */
#define bsd4_4