Changeset e37e5b2


Ignore:
Timestamp:
Jul 6, 2009, 10:24:28 AM (15 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:
4261659, 5ae3520
Parents:
2c06fa5
Message:

Updated GCC Patch to also include Pure64 changes in Specs Pure64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/patch/gcc-specs-patch.sh

    r2c06fa5 re37e5b2  
    9797done
    9898
     99for file in $(find gcc/config -name "t-linux*"); do
     100  if [ "$(cat ${file} | grep -c MULTILIB_OSDIRNAMES)" != "0" ]; then
     101    echo "Modifying ${file}..."
     102    if [ "$(echo ${file} | grep -c mips)" != "0" ]; then
     103      sed -i -e 's@MULTILIB_OSDIRNAMES = ../lib32 ../lib ../lib64@MULTILIB_OSDIRNAMES = ../lib64 ../lib32 ../lib@' \
     104        -e 's@MULTILIB_OSDIRNAMES = ../lib32 ../lib ../lib64@MULTILIB_OSDIRNAMES = ../lib64 ../lib32 ../lib@' ${file}
     105    else
     106      sed -i -e 's@MULTILIB_OSDIRNAMES = ../lib64 ../lib@MULTILIB_OSDIRNAMES = ../lib ../lib32@' \
     107        -e 's@MULTILIB_OSDIRNAMES.= ../lib64 .@MULTILIB_OSDIRNAMES\t= ../lib $@' ${file}
     108    fi
     109  fi
     110done
     111
    99112# Create Patch
    100113#
Note: See TracChangeset for help on using the changeset viewer.