diff options
-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. |