Fix GCC 32-bit script install
This commit is contained in:
parent
5c1c4e40eb
commit
303ce5b74c
|
@ -129,14 +129,19 @@ steps:
|
||||||
sudo apt-fast install --no-install-recommends --allow-downgrades -yq \
|
sudo apt-fast install --no-install-recommends --allow-downgrades -yq \
|
||||||
g++-multilib gcc-multilib libcurl4-openssl-dev:i386 libgc-dev:i386 \
|
g++-multilib gcc-multilib libcurl4-openssl-dev:i386 libgc-dev:i386 \
|
||||||
libffi-dev:i386
|
libffi-dev:i386
|
||||||
cat << EOF > bin/gcc
|
|
||||||
|
mkdir -p bin
|
||||||
|
|
||||||
|
cat < EOF > bin/gcc
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
exec $(which gcc) -m32 "\$@"
|
exec $(which gcc) -m32 "\$@"
|
||||||
EOF
|
EOF
|
||||||
cat << EOF > bin/g++
|
|
||||||
|
cat < EOF > bin/g++
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
exec $(which g++) -m32 "\$@"
|
exec $(which g++) -m32 "\$@"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
chmod 755 bin/gcc
|
chmod 755 bin/gcc
|
||||||
chmod 755 bin/g++
|
chmod 755 bin/g++
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue