From 5731e0779750c0e8f8012da0c5dfbd7ecb371e2c Mon Sep 17 00:00:00 2001 From: whoisxxx Date: Mon, 1 Jun 2020 19:52:47 +0800 Subject: [PATCH] Adapt for RISC-V Signed-off-by: whoisxxx --- openssh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openssh.spec b/openssh.spec index d19be12..f2cab54 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 -- Gitee