Skip to content

Commit 3b43898

Browse files
committed
Add LLVM_TARGET environment variable so that clang is doubly sure what it's compiling for.
1 parent e7f606e commit 3b43898

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Runner.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ function target_envs(target::AbstractString)
9191
mapping["NM"] = tool("llvm-nm")
9292
mapping["OTOOL"] = target_tool("otool")
9393
mapping["INSTALL_NAME_TOOL"] = target_tool("install_name_tool")
94+
mapping["LLVM_TARGET"] = target
9495
else
9596
mapping["AR"] = target_tool("ar")
9697
mapping["AS"] = target_tool("as")

0 commit comments

Comments
 (0)