Changeset 4ff86b52 for patches


Ignore:
Timestamp:
Feb 22, 2007, 10:08:05 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
68052ca
Parents:
23cc7cc
Message:

Fixed Pure 64 specs patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • patches/gcc-4.1.2-pure64_specs-1.patch

    r23cc7cc r4ff86b52  
    334334 
    335335 #undef LOCAL_LABEL_PREFIX
    336 diff -Naur gcc-4.1.2.orig/gcc/gcc.c gcc-4.1.2/gcc/gcc.c
    337 --- gcc-4.1.2.orig/gcc/gcc.c    2006-11-07 06:26:21.000000000 -0800
    338 +++ gcc-4.1.2/gcc/gcc.c 2007-02-14 07:48:55.000000000 -0800
    339 @@ -3821,16 +3821,22 @@
    340               PREFIX_PRIORITY_LAST, 2, 0);
    341    add_prefix (&exec_prefixes, standard_exec_prefix, "BINUTILS",
    342               PREFIX_PRIORITY_LAST, 2, 0);
    343 -  add_prefix (&exec_prefixes, standard_exec_prefix_1, "BINUTILS",
    344 +  if (*cross_compile == '0')
    345 +    {
    346 +      add_prefix (&exec_prefixes, standard_exec_prefix_1, "BINUTILS",
    347               PREFIX_PRIORITY_LAST, 2, 0);
    348 -  add_prefix (&exec_prefixes, standard_exec_prefix_2, "BINUTILS",
    349 +      add_prefix (&exec_prefixes, standard_exec_prefix_2, "BINUTILS",
    350               PREFIX_PRIORITY_LAST, 2, 0);
    351 +    }
    352  #endif
    353  
    354    add_prefix (&startfile_prefixes, standard_exec_prefix, "BINUTILS",
    355               PREFIX_PRIORITY_LAST, 1, 0);
    356 -  add_prefix (&startfile_prefixes, standard_exec_prefix_2, "BINUTILS",
    357 +  if (*cross_compile == '0')
    358 +    {
    359 +      add_prefix (&startfile_prefixes, standard_exec_prefix_2, "BINUTILS",
    360               PREFIX_PRIORITY_LAST, 1, 0);
    361 +    }
    362  
    363    tooldir_prefix = concat (tooldir_base_prefix, spec_machine,
    364                            dir_separator_str, NULL);
Note: See TracChangeset for help on using the changeset viewer.