Files
MSYS2-packages/crosstool-ng-git/0001-stat-check.patch
Ilya Rakhlin ebb7655666 1. Fix crosstool-ng package using the newest release
2. Fix crosstool-ng-git package built using master branch

Signed-off-by: Ilya Rakhlin <i.rakhlin@gmail.com>
2017-07-16 03:24:38 -04:00

12 lines
477 B
Diff

diff -Naur crosstool-ng.orig/configure.ac crosstool-ng/configure.ac
--- crosstool-ng.orig/configure.ac
+++ crosstool-ng/configure.ac
@@ -240,7 +240,7 @@ AC_CACHE_CHECK([whether stat takes GNU or BSD format],
rm -f conftest
AS_IF([test "$attr_bsd" = "642"],
[acx_cv_stat_flavor=BSD],
- [test "$attr_gnu" = "642"],
+ [test "$attr_gnu" = "644"],
[acx_cv_stat_flavor=GNU],
[AC_MSG_ERROR([cannot determine stat(1) format option])])])