Skip to content

Commit f238346

Browse files
committed
Also generate wrappers for the host toolchain.
Otherwise it's hard to use gcc without fully specifying it.
1 parent 6dfed70 commit f238346

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Runner.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,9 +1061,10 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
10611061
if :go in compilers
10621062
append!(default_tools, ("go", "gofmt"))
10631063
end
1064-
# Create symlinks for default compiler invocations, invoke target toolchain
1064+
# Create symlinks for default compiler invocations
10651065
for tool in default_tools
10661066
symlink("$(target)-$(tool)", joinpath(bin_path, triplet(platform), tool))
1067+
symlink("$(host_target)-$(tool)", joinpath(bin_path, triplet(host_platform), tool))
10671068
end
10681069

10691070
# Generate other fake system-specific tools.

0 commit comments

Comments
 (0)