File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ function(cxx_abi_list_identifier result triple abi_library abi_version unstable
1616 elseif ("${triple} " MATCHES "freebsd" )
1717 # Ignore the major and minor versions of freebsd targets.
1818 string (REGEX REPLACE "freebsd[0-9]+\\ .[0-9]+" "freebsd" triple "${triple} " )
19+ elseif ("${triple} " MATCHES "aix" )
20+ # Ignore the V.R.M.F version string of aix targets.
21+ string (REGEX REPLACE "aix[0-9]+\\ .[0-9]+\\ .[0-9]+\\ .[0-9]+" "aix" triple "${triple} " )
1922 endif ()
2023 list (APPEND abi_properties "${triple} " )
2124 list (APPEND abi_properties "${abi_library} " )
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def is_xcoff_or_big_ar(filename):
9595 with open (filename , "rb" ) as f :
9696 magic_bytes = f .read (7 )
9797 return (
98- magic_bytes [:4 ] in [b"\x01 DF " , b"\x01 F7 " ] # XCOFF32 # XCOFF64
98+ magic_bytes [:2 ] in [b"\x01 \xDF " , b"\x01 \xF7 " ] # XCOFF32 # XCOFF64
9999 or magic_bytes == b"<bigaf>"
100100 )
101101
You can’t perform that action at this time.
0 commit comments