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