Skip to content

Commit ea0b49d

Browse files
authored
[Runner] Add new dir to headers search path on aarch64-freebsd (#408)
1 parent ccbbf37 commit ea0b49d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Runner.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,13 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
456456
sanitize_compile_flags!(p, flags)
457457
if Sys.isfreebsd(p)
458458
add_system_includedir(flags)
459+
if arch(p) == "aarch64"
460+
append!(flags, [
461+
# At the moment we know this is needed only on aarch64-freebsd:
462+
# <https://github.com/JuliaPackaging/Yggdrasil/pull/10360#discussion_r1935608177>.
463+
"-isystem /opt/$(aatriplet(p))/$(aatriplet(p))/sys-root/usr/include"
464+
])
465+
end
459466
end
460467

461468
if !Sys.isbsd(p)

0 commit comments

Comments
 (0)