From c86942dc6677ebeb68648466d2cb4ca30c362d9a Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 15 Aug 1999 21:59:46 +0000 Subject: Move "LIBGCC_SPEC" to freebsd-native.h as it is not approapiate for submitting to the GCC mainainers for folding into the stock GCC. --- gnu/usr.bin/cc/cc_tools/freebsd-native.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h index 6f5cc8f76560..99bb829187fd 100644 --- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h +++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h @@ -1,4 +1,4 @@ -/* $Id: freebsd.h,v 1.8 1999/04/22 17:45:01 obrien Exp $ */ +/* $Id: freebsd-native.h,v 1.1 1999/04/28 18:48:05 obrien Exp $ */ /* FREEBSD_NATIVE is defined when gcc is integrated into the FreeBSD source tree so it can be configured appropriately without using @@ -38,3 +38,8 @@ /* FreeBSD is 4.4BSD derived */ #define bsd4_4 + +/* Tell gcc to locate libgcc.a for us according to the -m rules. */ +#undef LIBGCC_SPEC +#define LIBGCC_SPEC \ + "%{!shared:%{!pthread:%{!kthread:libgcc.a%s}}%{pthread|kthread:libgcc_r.a%s}}" -- cgit v1.3