Changeset 4ff86b52


Ignore:
Timestamp:
Feb 22, 2007, 10:08:05 PM (17 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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/patches.ent

    r23cc7cc r4ff86b52  
    138138
    139139<!ENTITY gcc-specs_pure64-patch "gcc-&gcc-version;-pure64_specs-1.patch">
    140 <!ENTITY gcc-specs_pure64-patch-md5 "0c0adf6f0a0c695094ed74aa86d3f6ae">
     140<!ENTITY gcc-specs_pure64-patch-md5 "57de1c6ce677aaf428b0c49885344907">
    141141<!ENTITY gcc-specs_pure64-patch-size "8 KB">
    142142
  • 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.