From 433fb3ec99fbb65cd5576141f60a7cc6931d1f22 Mon Sep 17 00:00:00 2001 From: Zero_Chaos Date: Thu, 28 Jun 2018 12:14:59 -0400 Subject: 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(-) (limited to 'net-wireless/osmo-fl2k') 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 a0e0eed61e39..0df5cfc8b4b9 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 a0e0eed61e39..17e694cb18e9 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 } -- cgit v1.2.3-65-gdbad