Skip to content

Commit

Permalink
Move $(COMMA) to Make.inc, add $(SPACE) as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Mar 30, 2019
1 parent 2065d1d commit 0ee4c99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Make.inc
Expand Up @@ -1289,3 +1289,7 @@ endef
# (hardened against any special characters appearing in the output)
print-%:
@echo '$*=$(subst ','\'',$(subst $(newline),\n,$($*)))'
# Literal values that are hard to use in Makefiles otherwise:
COMMA:=,
SPACE:=$(eval) $(eval)
1 change: 0 additions & 1 deletion sysimage.mk
Expand Up @@ -62,7 +62,6 @@ $(build_private_libdir)/corecompiler.ji: $(COMPILER_SRCS)
--startup-file=no -g0 -O0 compiler/compiler.jl)
@mv $@.tmp $@

COMMA:=,
$(build_private_libdir)/sys.ji: $(build_private_libdir)/corecompiler.ji $(JULIAHOME)/VERSION $(BASE_SRCS) $(STDLIB_SRCS)
@$(call PRINT_JULIA, cd $(JULIAHOME)/base && \
if ! $(call spawn,$(JULIA_EXECUTABLE)) -g1 -O0 -C "$(JULIA_CPU_TARGET)" --output-ji $(call cygpath_w,$@).tmp $(JULIA_SYSIMG_BUILD_FLAGS) \
Expand Down

0 comments on commit 0ee4c99

Please sign in to comment.