- Timestamp:
- Jul 6, 2009, 10:24:28 AM (16 years ago)
- 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
- File:
- 
      - 1 edited
 
 - 
          
  scripts/patch/gcc-specs-patch.sh (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      scripts/patch/gcc-specs-patch.shr2c06fa5 re37e5b2 97 97 done 98 98 99 for 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 110 done 111 99 112 # Create Patch 100 113 # 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
