File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -542,9 +542,8 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
542
542
end
543
543
544
544
function gcc_link_flags! (p:: AbstractPlatform , flags:: Vector{String} = String[])
545
- # Yes, it does seem that the inclusion of `/lib64` on `powerpc64le` was fixed
546
- # in GCC 6, broken again in GCC 7, and then fixed again for GCC 8 and 9
547
- if arch (p) == " powerpc64le" && Sys. islinux (p) && gcc_version. major in (4 , 5 , 7 )
545
+ # Inclusion of `/lib64` on `powerpc64le` was fixed in GCC 8+.
546
+ if arch (p) == " powerpc64le" && Sys. islinux (p) && 4 <= gcc_version. major <= 7
548
547
append! (flags, String[
549
548
" -L/opt/$(aatriplet (p)) /$(aatriplet (p)) /sys-root/lib64" ,
550
549
" -Wl,-rpath-link,/opt/$(aatriplet (p)) /$(aatriplet (p)) /sys-root/lib64" ,
You can’t perform that action at this time.
0 commit comments