From: Waldemar Brodkorb Date: Sat, 29 Aug 2015 07:46:35 +0000 (+0200) Subject: openssh: fix static compilation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bc51f85ae35cf6d60e1622a0df5bf03ae494e39;p=buildroot.git openssh: fix static compilation PIE and static doesn't work on Linux. Fixes: http://autobuild.buildroot.net/results/dce/dce0202e039f4636d68532c4aab8738938b76650/ Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk index b95914b62d..fb5779e385 100644 --- a/package/openssh/openssh.mk +++ b/package/openssh/openssh.mk @@ -26,6 +26,10 @@ endef ifeq ($(BR2_arc),y) OPENSSH_CONF_OPTS += --without-pie endif +# PIE and static does not work on Linux +ifeq ($(BR2_STATIC_LIBS),y) +OPENSSH_CONF_OPTS += --without-pie +endif OPENSSH_DEPENDENCIES = zlib openssl