commit:     2fe240b41005c2ffae9578e448b24d4436008af6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 13 09:23:34 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 13 09:23:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fe240b4

sys-devel/gdb: backport USE=sim to 12.1-r3

It leads to a decent improvement in build time.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/gdb/gdb-12.1-r3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-devel/gdb/gdb-12.1-r3.ebuild b/sys-devel/gdb/gdb-12.1-r3.ebuild
index 8665f715d490..9cb86c2bb7b8 100644
--- a/sys-devel/gdb/gdb-12.1-r3.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r3.ebuild
@@ -47,7 +47,7 @@ if [[ ${PV} != 9999* ]] ; then
        KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
-IUSE="cet guile lzma multitarget nls +python +server source-highlight test 
vanilla xml xxhash"
+IUSE="cet guile lzma multitarget nls +python +server sim source-highlight test 
vanilla xml xxhash"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 # In fact, gdb's test suite needs some work to get passing.
@@ -199,6 +199,7 @@ src_configure() {
                $(use_with xml expat)
                $(use_with lzma)
                $(use_enable nls)
+               $(use_enable sim)
                $(use_enable source-highlight)
                $(use multitarget && echo --enable-targets=all)
                $(use_with python python "${EPYTHON}")

Reply via email to