Skip to content

Commit 898193a

Browse files
committed
Don't set --gcc-toolchain on OSX
1 parent 522628d commit 898193a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Runner.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ function platform_envs(platform::Platform, host_target="x86_64-linux-gnu")
132132
# https://github.com/llvm-mirror/clang/blob/f3b7928366f63b51ffc97e74f8afcff497c57e8d/lib/Driver/ToolChains/FreeBSD.cpp
133133
if occursin("-freebsd", target)
134134
mapping["LDFLAGS"] *= " -L/opt/$(target)/$(target)/lib"
135-
else
136-
mapping["CC"] *= " -gcc-toolchain /opt/$(target)"
137-
mapping["CXX"] *= " -gcc-toolchain /opt/$(target)"
138135
end
139136
# flang isn't a realistic option yet, so we still use gfortran here
140137
mapping["FC"] = target_tool_path("gfortran")

0 commit comments

Comments
 (0)