summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/ovpn-dco/ovpn-dco-9999.ebuild')
-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}'"