diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-04-02 21:11:09 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-04-02 21:11:37 +0200 |
commit | 21a95e99f6fa4521ae3f3b50b62531f46cfa18b9 (patch) | |
tree | 603c2637685f902c9b43a854d760a35261d2a81f /rules/openssh.make | |
parent | 5674568a5e1f4d394bdc64bc177e914aff5a749f (diff) | |
download | ptxdist-21a95e99f6fa4521ae3f3b50b62531f46cfa18b9.tar.gz ptxdist-21a95e99f6fa4521ae3f3b50b62531f46cfa18b9.tar.xz |
openssh: fix building for PowerPC
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/openssh.make')
-rw-r--r-- | rules/openssh.make | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rules/openssh.make b/rules/openssh.make index ae2338b5a..7a22bc778 100644 --- a/rules/openssh.make +++ b/rules/openssh.make @@ -36,8 +36,13 @@ OPENSSH_LICENSE_FILES := file://LICENCE;md5=e326045657e842541d3f35aada442507 OPENSSH_CONF_ENV := \ $(CROSS_ENV) \ + select_works_with_rlimit=yes \ LD=$(COMPILER_PREFIX)gcc +OPENSSH_SANDBOX-y := seccomp_filter +# seccomp_filter sandbox is not supported for ppc +OPENSSH_SANDBOX-$(PTXCONF_ARCH_PPC) := rlimit + # # autoconf # @@ -73,7 +78,7 @@ OPENSSH_CONF_OPT := \ --without-ssl-engine \ --without-pam \ --with-privsep-user=sshd \ - --with-sandbox=seccomp_filter \ + --with-sandbox=$(OPENSSH_SANDBOX-y) \ --$(call ptx/wwo, PTXCONF_GLOBAL_SELINUX)-selinux \ --with-privsep-path=/var/run/sshd \ --without-md5-passwords |