File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ all-debug: $(addprefix cache-debug-, $(STDLIBS))
2929
3030define stdlib_builder
3131ifneq ($(filter $(1 ) ,$(INDEPENDENT_STDLIBS ) ) ,)
32+ # Define target-specific export for `JULIA_CPU_TARGET`
33+ $$(BUILDDIR ) /stdlib/$1.release.image : export JULIA_CPU_TARGET=$(JULIA_CPU_TARGET )
34+ $$(BUILDDIR ) /stdlib/$1.debug.image : export JULIA_CPU_TARGET=$(JULIA_CPU_TARGET )
35+
3236$$(BUILDDIR ) /stdlib/$1.release.image : $$($1_SRCS ) $$(addsuffix .release.image,$$(addprefix $$(BUILDDIR ) /stdlib/,$2) ) $(build_private_libdir ) /sys.$(SHLIB_EXT )
3337 @$$(call PRINT_JULIA, $$(call spawn,$$(JULIA_EXECUTABLE ) ) --startup-file=no --check-bounds=yes -e 'Base.compilecache(Base.identify_package("$1") )' )
3438 @$$(call PRINT_JULIA, $$(call spawn,$$(JULIA_EXECUTABLE ) ) --startup-file=no --pkgimage=no -e 'Base.compilecache(Base.identify_package("$1") )' )
You can’t perform that action at this time.
0 commit comments