diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-09-01 10:52:13 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-09-01 11:01:34 +0200 |
commit | 9acfbf506aef6feb95d6d8c6896bc840fd609f2e (patch) | |
tree | 5336bb33afe0ad0e6e9ddb99cb1d94e97ef852e9 | |
parent | app-laptop/laptop-mode-tools: re-add sdparm/hdparm dependency (diff) | |
download | gentoo-9acfbf50.tar.gz gentoo-9acfbf50.tar.bz2 gentoo-9acfbf50.zip |
net-libs/libssh: Set -DWITH_STACK_PROTECTOR=OFF
The build system injects -fstack-protector _after_ CFLAGS, which means
that when CFLAGS define a stronger SSP, this lowers its protection
instead of improving it.
Additionally, the test for the compiler flag succeeds on HPPA when it
shouldn't, causing the build to fail later on:
In file included from src/agent.c:53:0:
include/libssh/priv.h:169:4: error: #error "Your system must provide a __func__ macro"
Bug: https://bugs.gentoo.org/59506
Package-Manager: Portage-2.3.48, Repoman-2.3.10
-rw-r--r-- | net-libs/libssh/libssh-0.7.4.ebuild | 1 | ||||
-rw-r--r-- | net-libs/libssh/libssh-0.7.5-r2.ebuild | 1 | ||||
-rw-r--r-- | net-libs/libssh/libssh-0.8.1.ebuild | 1 | ||||
-rw-r--r-- | net-libs/libssh/libssh-9999.ebuild | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/net-libs/libssh/libssh-0.7.4.ebuild b/net-libs/libssh/libssh-0.7.4.ebuild index 3b45d1fa582c..f33086923326 100644 --- a/net-libs/libssh/libssh-0.7.4.ebuild +++ b/net-libs/libssh/libssh-0.7.4.ebuild @@ -64,6 +64,7 @@ multilib_src_configure() { -DWITH_SERVER="$(usex server)" -DWITH_SFTP="$(usex sftp)" -DWITH_SSH1="$(usex ssh1)" + -DWITH_STACK_PROTECTOR=OFF -DWITH_STATIC_LIB="$(usex static-libs)" -DWITH_STATIC_LIB="$(usex test)" -DWITH_TESTING="$(usex test)" diff --git a/net-libs/libssh/libssh-0.7.5-r2.ebuild b/net-libs/libssh/libssh-0.7.5-r2.ebuild index ea3291593f7f..95aba9f77ea6 100644 --- a/net-libs/libssh/libssh-0.7.5-r2.ebuild +++ b/net-libs/libssh/libssh-0.7.5-r2.ebuild @@ -67,6 +67,7 @@ multilib_src_configure() { -DWITH_SERVER="$(usex server)" -DWITH_SFTP="$(usex sftp)" -DWITH_SSH1="$(usex ssh1)" + -DWITH_STACK_PROTECTOR=OFF -DWITH_STATIC_LIB="$(usex static-libs)" -DWITH_STATIC_LIB="$(usex test)" -DWITH_TESTING="$(usex test)" diff --git a/net-libs/libssh/libssh-0.8.1.ebuild b/net-libs/libssh/libssh-0.8.1.ebuild index 8aaceace64c1..641c1853e986 100644 --- a/net-libs/libssh/libssh-0.8.1.ebuild +++ b/net-libs/libssh/libssh-0.8.1.ebuild @@ -76,6 +76,7 @@ multilib_src_configure() { -DWITH_PCAP="$(usex pcap)" -DWITH_SERVER="$(usex server)" -DWITH_SFTP="$(usex sftp)" + -DWITH_STACK_PROTECTOR=OFF -DWITH_STATIC_LIB="$(usex static-libs)" -DWITH_STATIC_LIB="$(usex test)" -DWITH_ZLIB="$(usex zlib)" diff --git a/net-libs/libssh/libssh-9999.ebuild b/net-libs/libssh/libssh-9999.ebuild index 8aaceace64c1..641c1853e986 100644 --- a/net-libs/libssh/libssh-9999.ebuild +++ b/net-libs/libssh/libssh-9999.ebuild @@ -76,6 +76,7 @@ multilib_src_configure() { -DWITH_PCAP="$(usex pcap)" -DWITH_SERVER="$(usex server)" -DWITH_SFTP="$(usex sftp)" + -DWITH_STACK_PROTECTOR=OFF -DWITH_STATIC_LIB="$(usex static-libs)" -DWITH_STATIC_LIB="$(usex test)" -DWITH_ZLIB="$(usex zlib)" |