Skip to content

Commit

Permalink
Fix make error message
Browse files Browse the repository at this point in the history
COMMA was used before being defined, and was therefore printed as is.
  • Loading branch information
nalimilan authored and JeffBezanson committed Jul 7, 2018
1 parent b43ee62 commit e6d2bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ $(build_private_libdir)/corecompiler.ji: $(COMPILER_SRCS) | $(build_private_libd
--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 All @@ -201,7 +202,6 @@ $(build_private_libdir)/sys.ji: $(build_private_libdir)/corecompiler.ji $(JULIAH
fi )
@mv $@.tmp $@

COMMA:=,
define sysimg_builder
$$(build_private_libdir)/sys$1-o.a $$(build_private_libdir)/sys$1-bc.a : $$(build_private_libdir)/sys$1-%.a : $$(build_private_libdir)/sys.ji
@$$(call PRINT_JULIA, cd $$(JULIAHOME)/base && \
Expand Down

0 comments on commit e6d2bd6

Please sign in to comment.