8137013: ar (static linker) broken since JDK-8065912
authorihse
Fri, 25 Sep 2015 08:43:21 +0200
changeset 32719 c41d1a7bffcf
parent 32718 fadee4d0b5ec
child 32720 7e0e586a6817
8137013: ar (static linker) broken since JDK-8065912 Reviewed-by: erikj
common/autoconf/spec.gmk.in
--- a/common/autoconf/spec.gmk.in	Wed Sep 23 10:17:38 2015 +0200
+++ b/common/autoconf/spec.gmk.in	Fri Sep 25 08:43:21 2015 +0200
@@ -36,6 +36,11 @@
 # A self-referential reference to this file.
 SPEC:=@SPEC@
 
+# SPACE is defined in MakeBase.gmk, but it is also used in := rules here for some
+# toolchains, and is needed if MakeBase.gmk is not included before this file.
+X:=
+SPACE:=$(X) $(X)
+
 # What make to use for main processing, after bootstrapping top-level Makefile.
 MAKE := @MAKE@