summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-02 01:11:25 +0000
committerMike Frysinger <vapier@gentoo.org>2006-10-02 01:11:25 +0000
commit0c4becf0ecf66a1d3aa9293da1f653c4b67ac064 (patch)
treeb14d928f2935c5889d686bfcbd746b32a078daaa /sys-devel/gcc/files
parentia64 love (diff)
downloadgentoo-2-0c4becf0ecf66a1d3aa9293da1f653c4b67ac064.tar.gz
gentoo-2-0c4becf0ecf66a1d3aa9293da1f653c4b67ac064.tar.bz2
gentoo-2-0c4becf0ecf66a1d3aa9293da1f653c4b67ac064.zip
disable support for GCC_SPECS on win32 envs
(Portage version: 2.1.2_pre2)
Diffstat (limited to 'sys-devel/gcc/files')
-rw-r--r--sys-devel/gcc/files/gcc-spec-env.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/gcc/files/gcc-spec-env.patch b/sys-devel/gcc/files/gcc-spec-env.patch
index c2103206a3a7..9d5e666a5441 100644
--- a/sys-devel/gcc/files/gcc-spec-env.patch
+++ b/sys-devel/gcc/files/gcc-spec-env.patch
@@ -6,10 +6,11 @@
--- gcc-4/gcc/gcc.c
+++ gcc-4/gcc/gcc.c
-@@ -6482,6 +6482,30 @@
+@@ -6482,6 +6482,32 @@
/* Process any user specified specs in the order given on the command
line. */
++#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32))
+ /* Add specs listed in GCC_SPECS. Note; in the process of separating
+ * each spec listed, the string is overwritten at token boundaries
+ * (':') with '\0', an effect of strtok_r().
@@ -34,6 +35,7 @@
+ user_specs_tail = user;
+ }
+ }
++#endif
for (uptr = user_specs_head; uptr; uptr = uptr->next)
{
char *filename = find_a_file (&startfile_prefixes, uptr->filename,