diff --git a/openssh.spec b/openssh.spec index d19be121822f4dde6309a31b2fd82f680a6005c4..f2cab54f549b74373e17fbd95d4a32ec85379f35 100644 --- a/openssh.spec +++ b/openssh.spec @@ -319,7 +319,10 @@ fi --enable-vendor-patchlevel="FC-7.8p1-3" \ --without-zlib-version-check --with-ssl-engine --with-ipaddr-display \ --with-pie=no --without-hardening --with-systemd --with-default-pkcs11-provider=yes \ - --with-ldap --with-pam --with-selinux --with-audit=linux --with-sandbox=seccomp_filter \ + --with-ldap --with-pam --with-selinux --with-audit=linux \ +%ifnarch riscv64 + --with-sandbox=seccomp_filter \ +%endif --with-kerberos5${krb5_prefix:+=${krb5_prefix}} --with-libedit make