forked from OSchip/llvm-project
Macho-embedded: rename compiler-rt support from Darwin-embedded
There's nothing Darwin-based in the files or target now, so the previous name is now misleading. llvm-svn: 199733
This commit is contained in:
parent
4bf6078841
commit
1a9b904b76
|
@ -281,7 +281,7 @@ void MachO::AddLinkRuntimeLib(const ArgList &Args, ArgStringList &CmdArgs,
|
|||
StringRef DarwinStaticLib, bool AlwaysLink,
|
||||
bool IsEmbedded) const {
|
||||
SmallString<128> P(getDriver().ResourceDir);
|
||||
llvm::sys::path::append(P, "lib", IsEmbedded ? "darwin_embedded" : "darwin",
|
||||
llvm::sys::path::append(P, "lib", IsEmbedded ? "macho_embedded" : "darwin",
|
||||
DarwinStaticLib);
|
||||
|
||||
// For now, allow missing resource libraries to support developers who may
|
||||
|
|
|
@ -78,17 +78,17 @@ ifeq ($(shell test -d $(COMPILERRT_SRC_ROOT) && echo OK),OK)
|
|||
# support.
|
||||
RuntimeDirs :=
|
||||
ifeq ($(OS),Darwin)
|
||||
RuntimeDirs += darwin darwin_embedded
|
||||
RuntimeDirs += darwin macho_embedded
|
||||
RuntimeLibrary.darwin.Configs := \
|
||||
eprintf.a 10.4.a osx.a ios.a cc_kext.a cc_kext_ios5.a \
|
||||
asan_osx_dynamic.dylib \
|
||||
profile_osx.a profile_ios.a \
|
||||
ubsan_osx.a
|
||||
|
||||
RuntimeLibrary.darwin_embedded.Configs := \
|
||||
RuntimeLibrary.macho_embedded.Configs := \
|
||||
hard_static.a hard_pic.a
|
||||
ifneq (,$(findstring ARM,$(TARGETS_TO_BUILD)))
|
||||
RuntimeLibrary.darwin_embedded.Configs += \
|
||||
RuntimeLibrary.macho_embedded.Configs += \
|
||||
soft_static.a soft_pic.a
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue