summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-06-10 15:49:28 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-06-10 15:51:01 -0500
commit1cd1ff662fd84f3f45d9bb238ede6d29ff83a75d (patch)
tree388b3d03d39727e463b1d697f5cd64353e44b7cc /net-vpn
parentmedia-gfx/blender: drop 3.3.2, 3.3.3, 3.4.1, 3.4.1-r1 (diff)
downloadgentoo-1cd1ff662fd84f3f45d9bb238ede6d29ff83a75d.tar.gz
gentoo-1cd1ff662fd84f3f45d9bb238ede6d29ff83a75d.tar.bz2
gentoo-1cd1ff662fd84f3f45d9bb238ede6d29ff83a75d.zip
net-vpn/ovpn-dco: build fix
We need to filter out the -fomit-frame-pointer cflag since this builds with -pg. Closes: https://bugs.gentoo.org/907744 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/ovpn-dco/ovpn-dco-0.2.20230426.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-vpn/ovpn-dco/ovpn-dco-0.2.20230426.ebuild b/net-vpn/ovpn-dco/ovpn-dco-0.2.20230426.ebuild
index 6f65a6aff59c..fb761cca9d7c 100644
--- a/net-vpn/ovpn-dco/ovpn-dco-0.2.20230426.ebuild
+++ b/net-vpn/ovpn-dco/ovpn-dco-0.2.20230426.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit linux-mod
+inherit flag-o-matic linux-mod
DESCRIPTION="OpenVPN Data Channel Offload in the linux kernel"
HOMEPAGE="https://github.com/OpenVPN/ovpn-dco"
@@ -37,6 +37,13 @@ pkg_setup() {
linux-mod_pkg_setup
}
+src_configure() {
+ # Causes build failures because it builds with -pg,
+ # bug #907744
+ filter-flags -fomit-frame-pointer
+ default
+}
+
src_compile() {
BUILD_PARAMS+=" KERNEL_SRC='${KERNEL_DIR}'"
[[ ${PV} != 9999 ]] && BUILD_PARAMS+=" REVISION='${PV}'"