diff options
Diffstat (limited to 'media-sound/audacity')
-rw-r--r-- | media-sound/audacity/audacity-3.3.3.ebuild | 9 | ||||
-rw-r--r-- | media-sound/audacity/audacity-9999.ebuild | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/media-sound/audacity/audacity-3.3.3.ebuild b/media-sound/audacity/audacity-3.3.3.ebuild index a839024bcc60..2cba5da71a87 100644 --- a/media-sound/audacity/audacity-3.3.3.ebuild +++ b/media-sound/audacity/audacity-3.3.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 WX_GTK_VER="3.2-gtk3" -inherit cmake wxwidgets xdg virtualx +inherit cmake flag-o-matic wxwidgets xdg virtualx DESCRIPTION="Free crossplatform audio editor" HOMEPAGE="https://www.audacityteam.org/" @@ -157,6 +157,13 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # Reportedly also -Werror=odr but I could not get that far. + # https://bugs.gentoo.org/915226 + # https://github.com/audacity/audacity/issues/6096 + append-flags -fno-strict-aliasing + filter-lto + setup-wxwidgets # * always use system libraries if possible diff --git a/media-sound/audacity/audacity-9999.ebuild b/media-sound/audacity/audacity-9999.ebuild index f00f0a9e1f66..be537c7c96c0 100644 --- a/media-sound/audacity/audacity-9999.ebuild +++ b/media-sound/audacity/audacity-9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 WX_GTK_VER="3.2-gtk3" -inherit cmake wxwidgets xdg virtualx +inherit cmake flag-o-matic wxwidgets xdg virtualx DESCRIPTION="Free crossplatform audio editor" HOMEPAGE="https://www.audacityteam.org/" @@ -144,6 +144,13 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # Reportedly also -Werror=odr but I could not get that far. + # https://bugs.gentoo.org/915226 + # https://github.com/audacity/audacity/issues/6096 + append-flags -fno-strict-aliasing + filter-lto + setup-wxwidgets # * always use system libraries if possible |