summaryrefslogtreecommitdiff
path: root/package/sudo/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-25 12:35:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-25 12:35:32 +0100
commit891c9c1da76a4538712a213105e5c5b96cd32af8 (patch)
tree5ccb9010073f0ce0c3b4ef31d2dc03a95e9f7579 /package/sudo/Makefile
parentbf11e104ba583f5da5a9f0eaaca4cac25e434807 (diff)
fix uclibc compile, disable ssp by default
Diffstat (limited to 'package/sudo/Makefile')
-rw-r--r--package/sudo/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/sudo/Makefile b/package/sudo/Makefile
index 4289c6e5f..0c3d9562f 100644
--- a/package/sudo/Makefile
+++ b/package/sudo/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= sudo
PKG_VERSION:= 1.8.10
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 954d64906c3f6e2436f33445a049c58b
PKG_DESCR:= su do
PKG_SECTION:= admin
@@ -21,6 +21,12 @@ CONFIGURE_ARGS+= --without-pam \
--without-sendmail \
--with-env-editor
+ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
+CONFIGURE_ARGS+= --enable-hardening
+else
+CONFIGURE_ARGS+= --disable-hardening
+endif
+
sudo-install:
$(INSTALL_DIR) $(IDIR_SUDO)/usr/bin
$(INSTALL_DIR) $(IDIR_SUDO)/usr/sbin