diff options
| author | Greg Lewis <glewis@FreeBSD.org> | 2016-01-21 05:25:44 +0000 |
|---|---|---|
| committer | Greg Lewis <glewis@FreeBSD.org> | 2016-01-21 05:25:44 +0000 |
| commit | 24e7dd6d89f2d70fa3a53d0648bbac7790560e2a (patch) | |
| tree | 4dac4121e7b5a7fd3671e430715a11ce2d05c194 /java/openjdk8/files/patch-common-autoconf-build-performance.m4 | |
| parent | . Fix MASTER_SITES and thus fetch. (diff) | |
. Unreak CCACHE
PR: 205751
Submitted by: chris@chrullrich.net
Diffstat (limited to 'java/openjdk8/files/patch-common-autoconf-build-performance.m4')
| -rw-r--r-- | java/openjdk8/files/patch-common-autoconf-build-performance.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-common-autoconf-build-performance.m4 b/java/openjdk8/files/patch-common-autoconf-build-performance.m4 new file mode 100644 index 000000000000..98606705e202 --- /dev/null +++ b/java/openjdk8/files/patch-common-autoconf-build-performance.m4 @@ -0,0 +1,11 @@ +--- common/autoconf/build-performance.m4 Sat Oct 24 06:20:56 2015 -0700 ++++ common/autoconf/build-performance.m4 Wed Jan 20 21:11:23 2016 -0800 +@@ -212,7 +212,7 @@ + # Only use ccache if it is 3.1.4 or later, which supports + # precompiled headers. + AC_MSG_CHECKING([if ccache supports precompiled headers]) +- HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | awk '{ split($3, a, "."); if (a@<:@1@:>@ >= 3 && (a@<:@2@:>@ > 1 || (a@<:@2@:>@ == 1 && a@<:@3@:>@ >= 4))) print "yes"; else print "no"; }') 2> /dev/null` ++ HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | awk '{ split(@S|@3, a, "."); if (a@<:@1@:>@ >= 3 && (a@<:@2@:>@ > 1 || (a@<:@2@:>@ == 1 && a@<:@3@:>@ >= 4))) print "yes"; else print "no"; }') 2> /dev/null` + if test "x$HAS_GOOD_CCACHE" = xyes; then + AC_MSG_RESULT([no, disabling ccache]) + CCACHE= |
