Skip to content

Commit b365d11

Browse files
committed
---
yaml --- r: 214532 b: refs/heads/beta c: 150663c h: refs/heads/master v: v3
1 parent 827746a commit b365d11

File tree

6 files changed

+11
-13
lines changed

6 files changed

+11
-13
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: eb5bf151a57a6d499ddc9ec7591d0f0648c14330
26+
refs/heads/beta: 150663c3b6ab2628be08a5c48d98f17a2f9e6e7e
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 8c0aa6d64ebab528f7eb182812007155d6044972
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/mk/crates.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,6 @@ ONLY_RLIB_rustc_bitflags := 1
125125
# Documented-by-default crates
126126
DOC_CRATES := std alloc collections core libc rustc_unicode
127127

128-
# Installed objects/libraries by default
129-
INSTALLED_OBJECTS := libmorestack.a libcompiler-rt.a
130-
131128
################################################################################
132129
# You should not need to edit below this line
133130
################################################################################

branches/beta/mk/main.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,6 @@ endif
396396
# Prerequisites for using the stageN compiler to build target artifacts
397397
TSREQ$(1)_T_$(2)_H_$(3) = \
398398
$$(HSREQ$(1)_H_$(3)) \
399-
$$(foreach obj,$$(INSTALLED_OBJECTS),\
400-
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(obj)) \
401399
$$(foreach obj,$$(INSTALLED_OBJECTS_$(2)),\
402400
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(obj))
403401

branches/beta/mk/platform.mk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,14 @@ CFG_RLIB_GLOB=lib$(1)-*.rlib
112112

113113
include $(wildcard $(CFG_SRC_DIR)mk/cfg/*.mk)
114114

115+
define ADD_INSTALLED_OBJECTS
116+
INSTALLED_OBJECTS_$(1) += $$(call CFG_STATIC_LIB_NAME_$(1),morestack) \
117+
$$(call CFG_STATIC_LIB_NAME_$(1),compiler-rt)
118+
endef
119+
120+
$(foreach target,$(CFG_TARGET), \
121+
$(eval $(call ADD_INSTALLED_OBJECTS,$(target))))
122+
115123
# The -Qunused-arguments sidesteps spurious warnings from clang
116124
define FILTER_FLAGS
117125
ifeq ($$(CFG_USING_CLANG),1)

branches/beta/mk/prepare.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ prepare-target-$(2)-host-$(3)-$(1)-$(4): prepare-maybe-clean-$(4) \
140140
$$(if $$(findstring $(2),$$(CFG_HOST)), \
141141
$$(foreach crate,$$(HOST_CRATES), \
142142
$$(call PREPARE_LIB,$$(call CFG_LIB_GLOB_$(2),$$(crate)))),) \
143-
$$(foreach object,$$(INSTALLED_OBJECTS) $$(INSTALLED_OBJECTS_$(2)),\
143+
$$(foreach object,$$(INSTALLED_OBJECTS_$(2)),\
144144
$$(call PREPARE_LIB,$$(object))),),),)
145145
endef
146146

branches/beta/mk/rt.mk

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,6 @@ $$(RT_OUTPUT_DIR_$(1))/$$(NATIVE_$(2)_$(1)): $$(OBJS_$(2)_$(1))
111111
@$$(call E, link: $$@)
112112
$$(Q)$$(AR_$(1)) rcs $$@ $$^
113113

114-
ifeq ($$(findstring windows,$(1)),windows)
115-
$$(RT_OUTPUT_DIR_$(1))/lib$(2).a: $$(RT_OUTPUT_DIR_$(1))/$$(NATIVE_$(2)_$(1))
116-
$$(Q)cp $$^ $$@
117-
endif
118-
119114
endef
120115

121116
$(foreach target,$(CFG_TARGET), \
@@ -227,7 +222,7 @@ COMPRT_DEPS := $(wildcard \
227222
$(S)src/compiler-rt/*/*/*/*)
228223
endif
229224

230-
COMPRT_NAME_$(1) := libcompiler-rt.a
225+
COMPRT_NAME_$(1) := $$(call CFG_STATIC_LIB_NAME_$(1),compiler-rt)
231226
COMPRT_LIB_$(1) := $$(RT_OUTPUT_DIR_$(1))/$$(COMPRT_NAME_$(1))
232227
COMPRT_BUILD_DIR_$(1) := $$(RT_OUTPUT_DIR_$(1))/compiler-rt
233228

0 commit comments

Comments
 (0)