Support minimal set of archs in continuous build, to avoid timeouts.
@@ -64,10 +64,15 @@ TVOS_AVAILABLE = \
then echo "YES"; else echo "NO"; fi)
ifndef J2OBJC_ARCHS
+ifdef ENV_J2OBJC_ARCHS
+# The env command cannot forward variables with spaces in them.
+J2OBJC_ARCHS = $(subst _, ,$(ENV_J2OBJC_ARCHS))
+else
# 32bit iPhone archs are no longer built by default. To build a release
# with them, define J2OBJC_ARCHS with "iphone" and "simulator" included.
J2OBJC_ARCHS = macosx iphone64 iphone64e watchv7k watch64 watchsimulator \
simulator64 maccatalyst
+endif
ifeq ($(TVOS_AVAILABLE), YES)
J2OBJC_ARCHS += appletvos appletvsimulator
endif
