mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
315750ac92
Conflicts: mk/platform.mk src/librustc/session/config.rs src/librustc_back/target/aarch64_apple_ios.rs src/librustc_back/target/aarch64_linux_android.rs src/librustc_back/target/arm_linux_androideabi.rs src/librustc_back/target/arm_unknown_linux_gnueabi.rs src/librustc_back/target/arm_unknown_linux_gnueabihf.rs src/librustc_back/target/armv7_apple_ios.rs src/librustc_back/target/armv7s_apple_ios.rs src/librustc_back/target/i386_apple_ios.rs src/librustc_back/target/i686_apple_darwin.rs src/librustc_back/target/i686_pc_windows_gnu.rs src/librustc_back/target/i686_unknown_dragonfly.rs src/librustc_back/target/i686_unknown_linux_gnu.rs src/librustc_back/target/mips_unknown_linux_gnu.rs src/librustc_back/target/mipsel_unknown_linux_gnu.rs src/librustc_back/target/mod.rs src/librustc_back/target/powerpc_unknown_linux_gnu.rs src/librustc_back/target/x86_64_apple_darwin.rs src/librustc_back/target/x86_64_apple_ios.rs src/librustc_back/target/x86_64_pc_windows_gnu.rs src/librustc_back/target/x86_64_unknown_dragonfly.rs src/librustc_back/target/x86_64_unknown_freebsd.rs src/librustc_back/target/x86_64_unknown_linux_gnu.rs src/librustc_back/target/x86_64_unknown_openbsd.rs src/librustc_llvm/lib.rs src/librustc_trans/back/link.rs src/librustc_trans/trans/base.rs src/libstd/os.rs src/rustllvm/RustWrapper.cpp
34 lines
2.0 KiB
Makefile
34 lines
2.0 KiB
Makefile
# aarch64-apple-ios configuration
|
|
CFG_SDK_NAME_aarch64-apple-ios := iphoneos
|
|
CFG_SDK_ARCHS_aarch64-apple-ios := arm64
|
|
ifneq ($(findstring darwin,$(CFG_OSTYPE)),)
|
|
CFG_IOS_SDK_aarch64-apple-ios := $(shell xcrun --show-sdk-path -sdk iphoneos 2>/dev/null)
|
|
CFG_IOS_SDK_FLAGS_aarch64-apple-ios := -target aarch64-apple-darwin -isysroot $(CFG_IOS_SDK_aarch64-apple-ios) -mios-version-min=7.0 -arch arm64
|
|
CC_aarch64-apple-ios = $(shell xcrun -find -sdk iphoneos clang)
|
|
LINK_aarch64-apple-ios = $(shell xcrun -find -sdk iphoneos clang)
|
|
CXX_aarch64-apple-ios = $(shell xcrun -find -sdk iphoneos clang++)
|
|
CPP_aarch64-apple-ios = $(shell xcrun -find -sdk iphoneos clang++)
|
|
AR_aarch64-apple-ios = $(shell xcrun -find -sdk iphoneos ar)
|
|
endif
|
|
CFG_LIB_NAME_aarch64-apple-ios = lib$(1).a
|
|
CFG_LIB_GLOB_aarch64-apple-ios = lib$(1)-*.a
|
|
CFG_INSTALL_ONLY_RLIB_aarch64-apple-ios = 1
|
|
CFG_STATIC_LIB_NAME_aarch64-apple-ios=lib$(1).a
|
|
CFG_LIB_DSYM_GLOB_aarch64-apple-ios = lib$(1)-*.a.dSYM
|
|
CFG_CFLAGS_aarch64-apple-ios := $(CFG_IOS_SDK_FLAGS_aarch64-apple-ios)
|
|
CFG_JEMALLOC_CFLAGS_aarch64-apple-ios := $(CFG_IOS_SDK_FLAGS_aarch64-apple-ios)
|
|
CFG_GCCISH_CFLAGS_aarch64-apple-ios := -Wall -Werror -fPIC $(CFG_IOS_SDK_FLAGS_aarch64-apple-ios)
|
|
CFG_GCCISH_CXXFLAGS_aarch64-apple-ios := -fno-rtti $(CFG_IOS_SDK_FLAGS_aarch64-apple-ios) -I$(CFG_IOS_SDK_aarch64-apple-ios)/usr/include/c++/4.2.1
|
|
CFG_GCCISH_LINK_FLAGS_aarch64-apple-ios := -lpthread -syslibroot $(CFG_IOS_SDK_aarch64-apple-ios) -Wl,-no_compact_unwind
|
|
CFG_GCCISH_DEF_FLAG_aarch64-apple-ios := -Wl,-exported_symbols_list,
|
|
CFG_LLC_FLAGS_aarch64-apple-ios := -mattr=+neon,+cyclone,+fp-armv8
|
|
CFG_INSTALL_NAME_aarch64-apple-ios = -Wl,-install_name,@rpath/$(1)
|
|
CFG_LIBUV_LINK_FLAGS_aarch64-apple-ios =
|
|
CFG_EXE_SUFFIX_aarch64-apple-ios :=
|
|
CFG_WINDOWSY_aarch64-apple-ios :=
|
|
CFG_UNIXY_aarch64-apple-ios := 1
|
|
CFG_LDPATH_aarch64-apple-ios :=
|
|
CFG_RUN_aarch64-apple-ios = $(2)
|
|
CFG_RUN_TARG_aarch64-apple-ios = $(call CFG_RUN_aarch64-apple-ios,,$(2))
|
|
CFG_GNU_TRIPLE_aarch64-apple-ios := aarch64-apple-ios
|