aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc/files/patch-ar
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-04-20 17:20:51 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-04-20 17:20:51 +0000
commit0c6eadf766643e409d81a124dfaf7fac8ad766c9 (patch)
tree4e94c82616100ab0ce59153e4f3e5fef7018d709 /lang/gcc/files/patch-ar
parentb8589053808b59f8055c2e1a342b9eeaf383e0fc (diff)
downloadports-0c6eadf766643e409d81a124dfaf7fac8ad766c9.tar.gz
ports-0c6eadf766643e409d81a124dfaf7fac8ad766c9.zip
Notes
Diffstat (limited to 'lang/gcc/files/patch-ar')
-rw-r--r--lang/gcc/files/patch-ar52
1 files changed, 0 insertions, 52 deletions
diff --git a/lang/gcc/files/patch-ar b/lang/gcc/files/patch-ar
deleted file mode 100644
index 8b3f5f6b267c..000000000000
--- a/lang/gcc/files/patch-ar
+++ /dev/null
@@ -1,52 +0,0 @@
---- gcc/config/freebsd-spec.h.orig Tue Nov 20 18:06:45 2001
-+++ gcc/config/freebsd-spec.h Sat Feb 2 13:37:38 2002
-@@ -48,29 +48,32 @@
- || !strcmp ((STR), "soname") || !strcmp ((STR), "defsym") \
- || !strcmp ((STR), "assert") || !strcmp ((STR), "dynamic-linker"))
-
-+/* Place spaces around this string. We depend on string splicing to produce
-+ the final CPP_PREDEFINES value. */
-+
- #if FBSD_MAJOR == 6
- #define FBSD_CPP_PREDEFINES \
-- "-D__FreeBSD__=6 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
-+ " -D__FreeBSD__=6 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
- #endif
-
- #if FBSD_MAJOR == 5
- #define FBSD_CPP_PREDEFINES \
-- "-D__FreeBSD__=5 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
-+ " -D__FreeBSD__=5 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
- #endif
-
- #if FBSD_MAJOR == 4
- #define FBSD_CPP_PREDEFINES \
-- "-D__FreeBSD__=4 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
-+ " -D__FreeBSD__=4 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
- #endif
-
- #if FBSD_MAJOR == 3
- #define FBSD_CPP_PREDEFINES \
-- "-D__FreeBSD__=3 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
-+ " -D__FreeBSD__=3 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
- #endif
-
- #ifndef FBSD_CPP_PREDEFINES
- #define FBSD_CPP_PREDEFINES \
-- "-D__FreeBSD__ -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
-+ " -D__FreeBSD__ -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
- #endif
-
- /* Provide a CPP_SPEC appropriate for FreeBSD. We just deal with the GCC
-@@ -79,7 +82,10 @@
- #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__}}"
-
- /* Provide a STARTFILE_SPEC appropriate for FreeBSD. Here we add
- the magical crtbegin.o file (see crtstuff.c) which provides part