commit: 81a21ed48f4bfe79c098c3f624c96e629e45a960 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sun Sep 30 23:33:31 2018 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Wed Oct 3 03:12:00 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81a21ed4
chromium-2.eclass: avoid eshopt functions Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> eclass/chromium-2.eclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eclass/chromium-2.eclass b/eclass/chromium-2.eclass index 712e44afc31..c9cfe5acebe 100644 --- a/eclass/chromium-2.eclass +++ b/eclass/chromium-2.eclass @@ -106,8 +106,7 @@ chromium_pkg_die() { fi # Prevent user problems like bug #348235. - eshopts_push -s extglob - if is-flagq '-g?(gdb)?([1-9])'; then + if ( shopt -s extglob; is-flagq '-g?(gdb)?([1-9])' ); then ewarn ewarn "You have enabled debug info (i.e. -g or -ggdb in your CFLAGS/CXXFLAGS)." ewarn "This produces very large build files causes the linker to consume large" @@ -116,7 +115,6 @@ chromium_pkg_die() { ewarn "Please try removing -g{,gdb} before reporting a bug." ewarn fi - eshopts_pop # ccache often causes bogus compile failures, especially when the cache gets # corrupted.