diff options
author | obrien <obrien@FreeBSD.org> | 1999-08-15 21:59:46 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-08-15 21:59:46 +0000 |
commit | e873ea78b5c9f9bb580bd24d1b0b8fa867de6b07 (patch) | |
tree | 86a9e2a8ac2a6e5dad1347ba6a4290f5ef2ca042 /gnu | |
parent | d7ab53a49abe7a6364eb6732e2a1603685110f88 (diff) | |
download | FreeBSD-src-e873ea78b5c9f9bb580bd24d1b0b8fa867de6b07.zip FreeBSD-src-e873ea78b5c9f9bb580bd24d1b0b8fa867de6b07.tar.gz |
Move "LIBGCC_SPEC" to freebsd-native.h as it is not approapiate for
submitting to the GCC mainainers for folding into the stock GCC.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/freebsd-native.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h index 6f5cc8f..99bb829 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}}" |