Index: share/mk/bsd.sys.mk =================================================================== --- share/mk/bsd.sys.mk +++ share/mk/bsd.sys.mk @@ -239,7 +239,10 @@ # but not yet. CXXFLAGS.clang+= -Wno-c++11-extensions -.if ${MK_SSP} != "no" +# XXX: powerpc64 and powerpc64le added temporarily due to regression on +# llvm12 and later when -On and -fstack-protector-strong are used +.if ${MK_SSP} != "no" && \ + ${MACHINE_ARCH} != "powerpc64" && ${MACHINE_ARCH} != "powerpc64le" # Don't use -Wstack-protector as it breaks world with -Werror. SSP_CFLAGS?= -fstack-protector-strong CFLAGS+= ${SSP_CFLAGS}