diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2000-01-17 12:27:59 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-01-17 12:27:59 +0000 |
commit | 19b929d5e31f6f44304094cb836ef24292d4fe4e (patch) | |
tree | e9fad16c54a6f5f2de3a5b79d53ecc9723c4298f /lang/gcc42/files/patch-ar | |
parent | 467b3f375a706bfaecd0af1bc398694b483c9aaf (diff) |
Upgrade to the 2000-01-10 GCC 2.96 development snapshot.
Notes
Notes:
svn path=/head/; revision=24793
Diffstat (limited to 'lang/gcc42/files/patch-ar')
-rw-r--r-- | lang/gcc42/files/patch-ar | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/gcc42/files/patch-ar b/lang/gcc42/files/patch-ar new file mode 100644 index 000000000000..f2200f115da8 --- /dev/null +++ b/lang/gcc42/files/patch-ar @@ -0,0 +1,29 @@ +--- gcc/config/freebsd.h.orig Mon Nov 22 22:17:32 1999 ++++ gcc/config/freebsd.h Sat Dec 18 14:42:03 1999 +@@ -48,13 +48,23 @@ + #undef WORD_SWITCH_TAKES_ARG + #define WORD_SWITCH_TAKES_ARG(STR) (FBSD_WORD_SWITCH_TAKES_ARG(STR)) + ++/* Place spaces around this string. We depend on string splicing to produce ++ the final CPP_PREDEFINES value. */ ++#define CPP_FBSD_PREDEFINES " -Dunix -D__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) " ++ + /* Provide a CPP_SPEC appropriate for FreeBSD. We just deal with the GCC + option `-posix', and PIC issues. */ + +-#undef CPP_SPEC +-#define CPP_SPEC "%(cpp_cpu) \ ++#define FBSD_CPP_SPEC " \ ++ %(cpp_cpu) \ + %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \ +- %{posix:-D_POSIX_SOURCE}" ++ %{posix:-D_POSIX_SOURCE} \ ++ %{!maout: -D__ELF__} \ ++ %{munderscores: -D__UNDERSCORES__} \ ++ %{maout: %{!mno-underscores: -D__UNDERSCORES__}}" ++ ++#undef CPP_SPEC ++#define CPP_SPEC FBSD_CPP_SPEC + + /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate + libc, depending on whether we're doing profiling or need threads support. |