commit: 433fb3ec99fbb65cd5576141f60a7cc6931d1f22 Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org> AuthorDate: Thu Jun 28 16:14:59 2018 +0000 Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org> CommitDate: Thu Jun 28 16:15:14 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=433fb3ec
net-wireless/osmo-fl2k: fix build failure works fine on gcc 6.4.0 but not 7.3.0 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653 Package-Manager: Portage-2.3.40, Repoman-2.3.9 net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild | 5 ++++- net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild index a0e0eed61e3..0df5cfc8b4b 100644 --- a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild +++ b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils linux-info udev +inherit cmake-utils flag-o-matic linux-info udev DESCRIPTION="turns FL2000-based USB 3.0 to VGA adapters into low cost DACs" @@ -38,6 +38,9 @@ src_configure() { -DLIB_INSTALL_DIR="/usr/$(get_libdir)" -DINSTALL_UDEV_RULES=OFF ) + #https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653 + replace-flags -O0 -O2 + replace-flags -Os -O2 cmake-utils_src_configure } diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild index a0e0eed61e3..17e694cb18e 100644 --- a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild +++ b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild @@ -38,6 +38,9 @@ src_configure() { -DLIB_INSTALL_DIR="/usr/$(get_libdir)" -DINSTALL_UDEV_RULES=OFF ) + #https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653 + replace-flags -O0 -O2 + replace-flags -Os -O2 cmake-utils_src_configure }
