diff options
author | Zero_Chaos <zerochaos@gentoo.org> | 2018-06-28 12:14:59 -0400 |
---|---|---|
committer | Zero_Chaos <zerochaos@gentoo.org> | 2018-06-28 12:15:14 -0400 |
commit | 433fb3ec99fbb65cd5576141f60a7cc6931d1f22 (patch) | |
tree | 01bdaba27c6f0f2416b5ad40e7d2f63c5648cce3 /net-wireless/osmo-fl2k | |
parent | www-client/firefox: Bump 52.xesr branch for those not ready to move to (diff) | |
download | gentoo-433fb3ec99fbb65cd5576141f60a7cc6931d1f22.tar.gz gentoo-433fb3ec99fbb65cd5576141f60a7cc6931d1f22.tar.bz2 gentoo-433fb3ec99fbb65cd5576141f60a7cc6931d1f22.zip |
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
Diffstat (limited to 'net-wireless/osmo-fl2k')
-rw-r--r-- | net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild | 5 | ||||
-rw-r--r-- | net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild | 3 |
2 files changed, 7 insertions, 1 deletions
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 } |