From 9f48774c6b67f91e120b1e993820f981a9161d71 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Sat, 18 Apr 2020 14:39:39 +0200 Subject: [PATCH] sys-fs/xfsprogs: Build fails with -O3. Replaced with -O2 Closes: https://bugs.gentoo.org/712698 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Lars Wendler --- sys-fs/xfsprogs/xfsprogs-5.5.0.ebuild | 3 +++ sys-fs/xfsprogs/xfsprogs-5.6.0.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sys-fs/xfsprogs/xfsprogs-5.5.0.ebuild b/sys-fs/xfsprogs/xfsprogs-5.5.0.ebuild index d5ba1a194663..662d88603bec 100644 --- a/sys-fs/xfsprogs/xfsprogs-5.5.0.ebuild +++ b/sys-fs/xfsprogs/xfsprogs-5.5.0.ebuild @@ -66,6 +66,9 @@ src_configure() { # Avoid automagic on libdevmapper, #709694 export ac_cv_search_dm_task_create=no + # Build fails with -O3 (bug #712698) + replace-flags -O3 -O2 + # Upstream does NOT support --disable-static anymore, # https://www.spinics.net/lists/linux-xfs/msg30185.html # https://www.spinics.net/lists/linux-xfs/msg30272.html diff --git a/sys-fs/xfsprogs/xfsprogs-5.6.0.ebuild b/sys-fs/xfsprogs/xfsprogs-5.6.0.ebuild index d5ba1a194663..662d88603bec 100644 --- a/sys-fs/xfsprogs/xfsprogs-5.6.0.ebuild +++ b/sys-fs/xfsprogs/xfsprogs-5.6.0.ebuild @@ -66,6 +66,9 @@ src_configure() { # Avoid automagic on libdevmapper, #709694 export ac_cv_search_dm_task_create=no + # Build fails with -O3 (bug #712698) + replace-flags -O3 -O2 + # Upstream does NOT support --disable-static anymore, # https://www.spinics.net/lists/linux-xfs/msg30185.html # https://www.spinics.net/lists/linux-xfs/msg30272.html -- 2.26.2