8036965: 9-dev solaris builds failed: sort: can't read STDIN: Illegal byte sequence
authorerikj
Tue, 11 Mar 2014 12:04:27 +0100
changeset 23167 9996c6e2c03a
parent 23166 4cdccd29406c
child 23168 d20a4165e3d2
8036965: 9-dev solaris builds failed: sort: can't read STDIN: Illegal byte sequence Reviewed-by: henryjen, tbell, ihse
make/common/JavaCompilation.gmk
--- a/make/common/JavaCompilation.gmk	Fri Mar 07 10:48:18 2014 -0800
+++ b/make/common/JavaCompilation.gmk	Tue Mar 11 12:04:27 2014 +0100
@@ -364,7 +364,7 @@
 	    | $(SED) -e '/^#/d' -e '/^$$$$/d' \
 	        -e :a -e '/\\$$$$/N; s/\\\n//; ta' \
 	        -e 's/^[ \t]*//;s/[ \t]*$$$$//' \
-	        -e 's/\\=/=/' | LANG=C $(SORT) > $$@
+	        -e 's/\\=/=/' | LC_ALL=C $(SORT) > $$@
 	$(CHMOD) -f ug+w $$@
 
   # And do not forget this target