summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild5
-rw-r--r--net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild3
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
}