diff options
author | Cem Keylan <cem@ckyln.com> | 2020-01-29 20:04:47 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-01-29 20:04:47 +0300 |
commit | 6101f9326d17daefe69f1d3a5e3bad7ce5b792a5 (patch) | |
tree | 2daf8be985744fe837ce5de8e441ef2a63c445be | |
parent | c0bd3c4d7e31c10735353cbeac7d69ed5c6d27d4 (diff) | |
download | repository-6101f9326d17daefe69f1d3a5e3bad7ce5b792a5.tar.gz |
gcc: remove -i from sed on build
-rwxr-xr-x | core/gcc/build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/gcc/build b/core/gcc/build index ef0e87db..b0a09ddb 100755 --- a/core/gcc/build +++ b/core/gcc/build @@ -5,8 +5,8 @@ cp -v gcc/gmp/configfsf.guess gcc/gmp/config.guess cp -v gcc/gmp/configfsf.sub gcc/gmp/config.sub # Use lib not lib64 by default. -sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 -sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h +sed '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 > t-linux64.bak && mv t-linux64.bak gcc/gcc/config/i386/t-linux64 +sed 's/lib64/lib/' gcc/gcc/config/i386/linux64.h > linux64.h.bak && mv linux64.h.bak gcc/gcc/config/i386/linux64.h # Build must happen outside of gcc source. mkdir -p gcc-build |