Skip to content

Commit

Permalink
[Runner] Add new dir to headers search path on aarch64-freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Jan 31, 2025
1 parent ccbbf37 commit 8afd617
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Runner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,13 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
sanitize_compile_flags!(p, flags)
if Sys.isfreebsd(p)
add_system_includedir(flags)
if arch(p) == "aarch64"
append!(flags, [
# At the moment we know this is needed only on aarch64-freebsd:
# <https://github.com/JuliaPackaging/Yggdrasil/pull/10360#discussion_r1935608177>.
"-isystem /opt/$(aatriplet(p))/$(aatriplet(p))/sys-root/usr/include"
])
end
end

if !Sys.isbsd(p)
Expand Down

0 comments on commit 8afd617

Please sign in to comment.