+%bcond_without doc # don't build doc
+%bcond_without ssse3 # use SSSE3 instructions (Intel since Core2, Via Nano)
+
+%ifnarch %{ix86} %{x8664}
+%undefine with_asm
+%endif
+
+%if "%{pld_release}" == "ac"
+# not supported by compiler
+%undefine with_ssse3
+%endif