make/bsd/makefiles/buildtree.make

Print this page

        

@@ -67,11 +67,11 @@
 QUIETLY$(MAKE_VERBOSE)  = @
 
 # For now, until the compiler is less wobbly:
 TESTFLAGS       = -Xbatch -showversion
 
-ifeq ($(ZERO_BUILD), true)
+ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
   PLATFORM_FILE = $(shell dirname $(shell dirname $(shell pwd)))/platform_zero
 else
   ifdef USE_SUNCC
     PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).suncc
   else