summaryrefslogtreecommitdiff
path: root/dev-util/systemtap/systemtap-4.5-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/systemtap/systemtap-4.5-r1.ebuild')
-rw-r--r--dev-util/systemtap/systemtap-4.5-r1.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-util/systemtap/systemtap-4.5-r1.ebuild b/dev-util/systemtap/systemtap-4.5-r1.ebuild
index b11a0b1830c0..cb7728fb5a3e 100644
--- a/dev-util/systemtap/systemtap-4.5-r1.ebuild
+++ b/dev-util/systemtap/systemtap-4.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="https://www.sourceware.org/${PN}/ftp/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="libvirt selinux sqlite +ssl test zeroconf"
CDEPEND="
@@ -96,6 +96,15 @@ src_configure() {
--disable-grapher
--disable-refdocs
--disable-server
+ # Our toolchain sets this for us already and adding in
+ # -D_FORTIFY_SOURCE=2 breaks builds w/ no optimisation.
+ # This option (at least as of 4.5) doesn't pass -fno* etc,
+ # it just doesn't _add_ options, which is good. If it changes
+ # to actually pass -fno-stack-protector and friends, we'll
+ # need to change course. Forcing =2 also has problems for
+ # setting it to 3.
+ # bug #794667.
+ --disable-ssp
--enable-pie
--with-python3
--without-java