fix: fix else gcc multilib

This commit is contained in:
Amin Yahyaabadi 2021-09-16 17:00:14 -05:00
parent f5bfb821d1
commit 2c79ba1c6a
1 changed files with 2 additions and 1 deletions

View File

@ -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