The arm64 code is always 64-bit, never 32-bit. Tthe gcc compiler does
not have a "-m64" option to force 64-bit code generation for arm64 and
the builds will fail with "-m64" on the command line. Eliminated the
unwanted option from the sdt_misc.exp tests when running on arm64.
set type_flags "[sdt_includes] additional_flags=-Wall additional_flags=-Werror"
set type_flags "$type_flags additional_flags=-I. $pbtype_flag"
set type_flags "$type_flags [lindex $extra_type_flags $j] [lindex $type_pedantics $p] [lindex $has_long_long $j]"
- if {![istarget "i*86-*-*"] && ![istarget "arm-*-*"]} {
+ if {![istarget "i*86-*-*"] && ![istarget "arm-*-*"] && ![istarget "aarch64-*-*"]} {
set type_flags "$type_flags additional_flags=-m64"
}
set test_suffix "$pbtype_mssg $extra_type_mssg $type_pedantic_mssg"