Skip to contentSkip to conversation

openssh: fix static compilation

PATCH New Waldemar Brodkorb 2 participants 2 messages Aug 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssh: fix static compilation

PIE and static doesn't work on Linux.

Fixes:
http://autobuild.buildroot.net/results/dce/dce0202e039f4636d68532c4aab8738938b76650/

---
 package/openssh/openssh.mk |    4 ++++
 1 file changed, 4 insertions(+)
package/openssh/openssh.mk +4 -0
index b95914b..fb5779e 100644
@@ -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
 
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 openssh: fix static compilation

Dear Waldemar Brodkorb,

Quoted 9 lines · Waldemar Brodkorb

PIE and static doesn't work on Linux.

Fixes:
http://autobuild.buildroot.net/results/dce/dce0202e039f4636d68532c4aab8738938b76650/

---
 package/openssh/openssh.mk |    4 ++++
 1 file changed, 4 insertions(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com