Use gnu tools on Solaris ihse-runtestprebuilt-branch
authorerikj
Tue, 02 Oct 2018 14:15:25 -0700
branchihse-runtestprebuilt-branch
changeset 56916 896fce31102a
parent 56915 57a645bec0d9
child 56917 e3334aaef781
Use gnu tools on Solaris
make/RunTestsPrebuiltSpec.gmk
--- a/make/RunTestsPrebuiltSpec.gmk	Tue Oct 02 14:14:05 2018 -0700
+++ b/make/RunTestsPrebuiltSpec.gmk	Tue Oct 02 14:15:25 2018 -0700
@@ -172,3 +172,13 @@
 EXPR := expr
 FILE := file
 HG := hg
+
+# On Solaris gnu versions of some tools are required.
+ifeq ($(OPENJDK_BUILD_OS), solaris)
+  AWK := gawk
+  GREP := ggrep
+  EGREP := ggrep -E
+  FGREP := grep -F
+  SED := gsed
+  TAR := GTAR
+endif