summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-19 13:27:12 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-19 13:27:12 +0100
commitf4e87289910ffb3bee65ad8f51ae307b1ef00d8b (patch)
tree644a7d1ce23519daee3d11ad8818ef20e71110c0
parent3114feafb161360c6bd4ecb2ab315c9aec7ef54e (diff)
handle non ssp situation
-rw-r--r--package/libressl/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/libressl/Makefile b/package/libressl/Makefile
index 943f804b1..20740271c 100644
--- a/package/libressl/Makefile
+++ b/package/libressl/Makefile
@@ -21,6 +21,12 @@ $(eval $(call PKG_template,LIBRESSL,libressl,$(PKG_VERSION)-${PKG_RELEASE},${PKG
XAKE_FLAGS+= GCC_HONOUR_COPTS=s
+ifeq ($(ADK_TARGET_USE_SSP),y)
+CONFIGURE_ARGS+= --enable-hardening
+else
+CONFIGURE_ARGS+= --disable-hardening
+endif
+
libressl-install:
$(INSTALL_DIR) $(IDIR_LIBRESSL)/usr/lib
$(CP) $(WRKINST)/usr/lib/lib{crypto,ssl}.so* \