summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-06-10 15:57:09 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-06-10 15:57:09 -0500
commit994a4567726f8692cb620de1aeb3206fba80632d (patch)
tree6a50dbd327a6109e51b50ce95d7d25b36096dcc9 /net-vpn
parentnet-vpn/ovpn-dco: build fix (diff)
downloadgentoo-994a4567726f8692cb620de1aeb3206fba80632d.tar.gz
gentoo-994a4567726f8692cb620de1aeb3206fba80632d.tar.bz2
gentoo-994a4567726f8692cb620de1aeb3206fba80632d.zip
net-vpn/ovpn-dco: sync live
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/ovpn-dco/ovpn-dco-9999.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-vpn/ovpn-dco/ovpn-dco-9999.ebuild b/net-vpn/ovpn-dco/ovpn-dco-9999.ebuild
index c9fc660b719b..7d1f148dcd20 100644
--- a/net-vpn/ovpn-dco/ovpn-dco-9999.ebuild
+++ b/net-vpn/ovpn-dco/ovpn-dco-9999.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}'"