From 303ce5b74ced13f09832710e7a51fe725a311420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mamy=20Andr=C3=A9-Ratsimbazafy?= Date: Tue, 1 Sep 2020 12:33:41 +0200 Subject: [PATCH] Fix GCC 32-bit script install --- azure-pipelines.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e2fa099..4a40c3f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -129,14 +129,19 @@ steps: sudo apt-fast install --no-install-recommends --allow-downgrades -yq \ g++-multilib gcc-multilib libcurl4-openssl-dev:i386 libgc-dev:i386 \ libffi-dev:i386 - cat << EOF > bin/gcc + + mkdir -p bin + + cat < EOF > bin/gcc #!/bin/bash exec $(which gcc) -m32 "\$@" EOF - cat << EOF > bin/g++ + + cat < EOF > bin/g++ #!/bin/bash exec $(which g++) -m32 "\$@" EOF + chmod 755 bin/gcc chmod 755 bin/g++