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 /net-libs/libssh/libssh-9999.ebuild | |
parent | app-laptop/laptop-mode-tools: re-add sdparm/hdparm dependency (diff) | |
download | gentoo-9acfbf506aef6feb95d6d8c6896bc840fd609f2e.tar.gz gentoo-9acfbf506aef6feb95d6d8c6896bc840fd609f2e.tar.bz2 gentoo-9acfbf506aef6feb95d6d8c6896bc840fd609f2e.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
Diffstat (limited to 'net-libs/libssh/libssh-9999.ebuild')
-rw-r--r-- | net-libs/libssh/libssh-9999.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
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)" |