diff options
author | Emily Rowlands <emily@erowl.net> | 2022-08-23 17:19:23 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-08-23 17:19:23 +0200 |
commit | 8b215f0743a4266e48ff3377811a7ce73f287d1f (patch) | |
tree | d979b6c4c0df1c1f3c85b2e6190ebfbc3681fab5 /x11-libs/wxGTK | |
parent | kde-apps/konqueror: Add missing patch (diff) | |
download | gentoo-8b215f0743a4266e48ff3377811a7ce73f287d1f.tar.gz gentoo-8b215f0743a4266e48ff3377811a7ce73f287d1f.tar.bz2 gentoo-8b215f0743a4266e48ff3377811a7ce73f287d1f.zip |
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@erowl.net>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'x11-libs/wxGTK')
-rw-r--r-- | x11-libs/wxGTK/wxGTK-3.0.4-r3.ebuild | 7 | ||||
-rw-r--r-- | 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) ) |