aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-02-24 06:05:22 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-02-24 06:05:22 +0000
commit4cef291124054172a76b04f7ffdfb1432a769c7b (patch)
treef6847689cf9b3a1576bdd9c23a089705358cb548 /gnu/usr.bin
parentb24e2c8a237336978a372bd166b1e639a422329b (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 ff6296bbdb01..e8e630630131 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -41,5 +41,9 @@
#define CROSS_STARTFILE_PREFIX PREFIX"/lib/"
#endif
+/* 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