aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-03-02 00:54:17 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-03-02 00:54:17 +0000
commit4a88cacfed91172dec0d0083d1ec5a0706615ae6 (patch)
tree08e8d89d812d60e00dedf0a27e936eabb384a638 /gnu/usr.bin
parenta19de87a67eae05c1439f854896460efd7214157 (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 20094fe97ece..8160d0b5d39c 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -50,6 +50,10 @@
#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