aboutsummaryrefslogtreecommitdiff
path: root/java/openjdk8/files/patch-common_autoconf_build-performance.m4
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjdk8/files/patch-common_autoconf_build-performance.m4')
-rw-r--r--java/openjdk8/files/patch-common_autoconf_build-performance.m411
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..e54d13e29f53
--- /dev/null
+++ b/java/openjdk8/files/patch-common_autoconf_build-performance.m4
@@ -0,0 +1,11 @@
+--- common/autoconf/build-performance.m4.orig
++++ common/autoconf/build-performance.m4
+@@ -213,7 +213,7 @@ AC_DEFUN([BPERF_SETUP_CCACHE_USAGE],
+ # precompiled headers.
+ AC_MSG_CHECKING([if ccache supports precompiled headers])
+ 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
++ if test "x$HAS_GOOD_CCACHE" != xyes; then
+ AC_MSG_RESULT([no, disabling ccache])
+ CCACHE=
+ else