Skip to content

Commit a338b3d

Browse files
committed
Turns out build-id should be available everywhere except macos
1 parent 7d27a85 commit a338b3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Runner.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
437437
end
438438

439439
function buildid_link_flags!(p::AbstractPlatform, flags::Vector{String})
440-
# build-id is only supported in the ELF format, which is linux+FreeBSD
441-
if Sys.islinux(p) || Sys.isfreebsd(p)
440+
# build-id is not supported on macOS compilers
441+
if !Sys.isapple(p)
442442
# Use a known algorithm to embed the build-id for reproducibility
443443
push!(flags, "-Wl,--build-id=sha1")
444444
end

0 commit comments

Comments
 (0)