commit: 8b215f0743a4266e48ff3377811a7ce73f287d1f Author: Emily Rowlands <emily <AT> erowl <DOT> net> AuthorDate: Tue Aug 23 15:19:23 2022 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Tue Aug 23 15:19:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b215f07
x11-libs/wxGTK: Disable precompiled headers This commit adds USE=pch to disable precompiled headers. PCHes are unstable and as such, USE=pch is masked globally. This bug can alternatively be fixed by filtering various FLAGs (-Wl,-O1 -Wl,-z,relro, and similar). Closes: https://bugs.gentoo.org/504204 Signed-off-by: Emily Rowlands <emily <AT> erowl.net> Signed-off-by: David Seifert <soap <AT> gentoo.org> x11-libs/wxGTK/wxGTK-3.0.4-r3.ebuild | 7 ++++++- x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r3.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r3.ebuild index 990923e26230..07a2baecb5c3 100644 --- a/x11-libs/wxGTK/wxGTK-3.0.4-r3.ebuild +++ b/x11-libs/wxGTK/wxGTK-3.0.4-r3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/wxWidgets-${PV}" LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )" SLOT="3.0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -IUSE="+X doc debug gstreamer libnotify opengl sdl tiff" +IUSE="+X doc debug gstreamer libnotify opengl pch sdl tiff" RDEPEND=" dev-libs/expat[${MULTILIB_USEDEP}] @@ -59,6 +59,11 @@ multilib_src_configure() { --with-expat=sys --enable-compat28 $(use_with sdl) + + # PCHes are unstable and are disabled in-tree where possible + # See bug #504204 + # Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090 + $(use_enable pch precomp-headers) ) # debug in >=2.9 diff --git a/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild b/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild index df33c05344cb..4b37bab0b317 100644 --- a/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild +++ b/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild @@ -21,7 +21,7 @@ S="${WORKDIR}/wxWidgets-${PV}" LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )" SLOT="${WXRELEASE}" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -IUSE="+X doc debug gstreamer libnotify opengl sdl tiff webkit" +IUSE="+X doc debug gstreamer libnotify opengl pch sdl tiff webkit" RDEPEND=" >=app-eselect/eselect-wxwidgets-20131230 @@ -94,6 +94,11 @@ multilib_src_configure() { --enable-compat28 $(use_with sdl) + # PCHes are unstable and are disabled in-tree where possible + # See bug #504204 + # Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090 + $(use_enable pch precomp-headers) + # Don't hard-code libdir's prefix for wx-config --libdir='${prefix}'/$(get_libdir) )
