summaryrefslogtreecommitdiff
path: root/package/openssh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/openssh/Makefile')
-rw-r--r--package/openssh/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/openssh/Makefile b/package/openssh/Makefile
index 2023a4bbb..64a71f7d8 100644
--- a/package/openssh/Makefile
+++ b/package/openssh/Makefile
@@ -49,6 +49,12 @@ ifeq ($(ADK_PACKAGE_OPENSSH_WITH_HEIMDAL),y)
CONFIGURE_ARGS+= --with-kerberos5="${STAGING_TARGET_DIR}/usr"
endif
+ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
+CONFIGURE_ARGS+= --with-stackprotect
+else
+CONFIGURE_ARGS+= --without-stackprotect
+endif
+
CONFIGURE_ENV+= LD='${TARGET_CC}' \
ac_cv_func_setlogin=no \
ac_cv_lib_nsl_yp_match=no