diff options
| -rw-r--r-- | gnu/usr.bin/cc/cc_tools/freebsd-native.h | 4 |
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 |
