From 2c79ba1c6a5e8865ac6897cdf64ea7f44bc95650 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Thu, 16 Sep 2021 17:00:14 -0500 Subject: [PATCH] fix: fix else gcc multilib --- src/gcc/gcc.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gcc/gcc.ts b/src/gcc/gcc.ts index 17b43c10..94655f88 100644 --- a/src/gcc/gcc.ts +++ b/src/gcc/gcc.ts @@ -30,8 +30,9 @@ export async function setupGcc(version: string, _setupCppDir: string, arch: stri case "linux": { if (arch === "x64") { binDir = (await setupAptPack("g++", version, "ppa:ubuntu-toolchain-r/test")).binDir + } else { + binDir = (await setupAptPack("g++-multilib", version, "ppa:ubuntu-toolchain-r/test")).binDir } - binDir = (await setupAptPack("g++-multilib", version, "ppa:ubuntu-toolchain-r/test")).binDir break } // TODO support bare-metal