diff options
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb/gdb-fix-cygwin-check-in-configure-script.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/gdb-fix-cygwin-check-in-configure-script.patch b/meta/recipes-devtools/gdb/gdb/gdb-fix-cygwin-check-in-configure-script.patch deleted file mode 100644 index 4e4647b0d9..0000000000 --- a/meta/recipes-devtools/gdb/gdb/gdb-fix-cygwin-check-in-configure-script.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | Avoid false positives if the search pattern "lose" is found in path | ||
2 | descriptions in comments generated by the preprocessor. | ||
3 | |||
4 | See <https://sourceware.org/bugzilla/show_bug.cgi?id=16152>. | ||
5 | --- | ||
6 | gdb/configure | 2 +- | ||
7 | gdb/configure.ac | 2 +- | ||
8 | 3 files changed, 7 insertions(+), 2 deletions(-) | ||
9 | |||
10 | diff --git a/gdb/configure b/gdb/configure | ||
11 | index 5514b2f..b38e183 100755 | ||
12 | --- a/gdb/configure | ||
13 | +++ b/gdb/configure | ||
14 | @@ -12446,7 +12446,7 @@ lose | ||
15 | #endif | ||
16 | _ACEOF | ||
17 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
18 | - $EGREP "lose" >/dev/null 2>&1; then : | ||
19 | + $EGREP "^lose$" >/dev/null 2>&1; then : | ||
20 | gdb_cv_os_cygwin=yes | ||
21 | else | ||
22 | gdb_cv_os_cygwin=no | ||
23 | diff --git a/gdb/configure.ac b/gdb/configure.ac | ||
24 | index 9b73887..2947293 100644 | ||
25 | --- a/gdb/configure.ac | ||
26 | +++ b/gdb/configure.ac | ||
27 | @@ -1877,7 +1877,7 @@ AC_SUBST(WERROR_CFLAGS) | ||
28 | |||
29 | # In the Cygwin environment, we need some additional flags. | ||
30 | AC_CACHE_CHECK([for cygwin], gdb_cv_os_cygwin, | ||
31 | -[AC_EGREP_CPP(lose, [ | ||
32 | +[AC_EGREP_CPP(^lose$, [ | ||
33 | #if defined (__CYGWIN__) || defined (__CYGWIN32__) | ||
34 | lose | ||
35 | #endif],[gdb_cv_os_cygwin=yes],[gdb_cv_os_cygwin=no])]) | ||
36 | -- | ||
37 | 1.8.4 | ||
38 | |||