+.if ${MACHINE_ARCH:Maarch64} +CONFIGURE_ENV+= ASMFLAGS=-mmark-bti-property +.endif
For some of these diffs, it might help to consider amd64 (and i386?) at the same time. Or, all architectures. In theory this type of thing will eventually show up on some other architectures. The ELF tag doesn't hurt on a processor family which lacks the lower-level capability. When it comes to the compiler option, it is very unfortunate that arm64 uses different flags than the other architctures (I say other architectures, meaning not just amd64 and i386, because based upon reading clang source, they have written the -fcf-protection argument passing to be applicable to other architectures as well)