]> git.pld-linux.org Git - packages/openssh.git/blobdiff - openssh.spec
- tests require kernel with NO_NEW_PRIVS prctl support (the same for default configur...
[packages/openssh.git] / openssh.spec
index 381b83ce81d9ca7682fdc377fcfe262cc22a9f7d..094c1ae39f7e72c4a40ea68ff5bb40248b2eb21e 100644 (file)
@@ -90,6 +90,8 @@ BuildRequires:        pam-devel
 BuildRequires: rpm >= 4.4.9-56
 BuildRequires: rpmbuild(macros) >= 1.627
 BuildRequires: sed >= 4.0
+# libseccomp based sandbox requires NO_NEW_PRIVS prctl flag
+%{?with_tests:BuildRequires:   uname(release) >= 3.5}
 BuildRequires: zlib-devel >= 1.2.3
 Requires:      zlib >= 1.2.3
 %if "%{pld_release}" == "ac"
@@ -559,8 +561,7 @@ cp /usr/share/automake/config.sub .
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
-CPPFLAGS="%{rpmcppflags} -DCHROOT -std=gnu99 -fno-tree-dominator-opts"
-CFLAGS="%{rpmcflags} -fno-tree-dominator-opts"
+CPPFLAGS="%{rpmcppflags} -DCHROOT -std=gnu99"
 %configure \
        PERL=%{__perl} \
        --disable-strip \
This page took 0.061751 seconds and 4 git commands to generate.