diff options
author | Mike Gilbert <floppym@gentoo.org> | 2018-09-30 19:33:31 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2018-10-02 23:12:00 -0400 |
commit | 81a21ed48f4bfe79c098c3f624c96e629e45a960 (patch) | |
tree | 7c797c176a1e149443acdb5470444d6cb5a4d95d /eclass | |
parent | xdg-utils.eclass: support EAPI 7 (diff) | |
download | gentoo-81a21ed48f4bfe79c098c3f624c96e629e45a960.tar.gz gentoo-81a21ed48f4bfe79c098c3f624c96e629e45a960.tar.bz2 gentoo-81a21ed48f4bfe79c098c3f624c96e629e45a960.zip |
chromium-2.eclass: avoid eshopt functions
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/chromium-2.eclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/eclass/chromium-2.eclass b/eclass/chromium-2.eclass index 712e44afc31d..c9cfe5acebee 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. |