Skip to content

Commit c9cb5b5

Browse files
committed
use gas deps for both toolchain and build
1 parent 1daf10e commit c9cb5b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/build.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ function make_toolchain() {
166166
}
167167

168168
if (host().platform != "darwin") {
169-
const deps = new Set(config.deps.dry.build.concat(config.deps.dry.runtime).map(x => x.project))
169+
// use gas (resolved) deps so we see transitive deps like gcc via cmake
170+
const deps = new Set(config.deps.gas.map(x => x.pkg.project))
170171
const has_gcc = deps.has('gnu.org/gcc')
171172
const has_llvm = deps.has('llvm.org')
172173
const has_binutils = deps.has('gnu.org/binutils')

0 commit comments

Comments
 (0)