mirror of https://github.com/aminya/setup-cpp
fix: fix else gcc multilib
This commit is contained in:
parent
f5bfb821d1
commit
2c79ba1c6a
|
@ -30,8 +30,9 @@ export async function setupGcc(version: string, _setupCppDir: string, arch: stri
|
||||||
case "linux": {
|
case "linux": {
|
||||||
if (arch === "x64") {
|
if (arch === "x64") {
|
||||||
binDir = (await setupAptPack("g++", version, "ppa:ubuntu-toolchain-r/test")).binDir
|
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
|
break
|
||||||
}
|
}
|
||||||
// TODO support bare-metal
|
// TODO support bare-metal
|
||||||
|
|
Loading…
Reference in New Issue