# arm-apple-ios configuration CFG_SDK_NAME_arm-apple-ios = iphoneos CFG_SDK_ARCHS_arm-apple-ios = armv7 ifneq ($(findstring darwin,$(CFG_OSTYPE)),) CFG_IOS_SDK = $(shell xcrun --show-sdk-path -sdk iphoneos 2>/dev/null) CFG_IOS_FLAGS = -target armv7-apple-darwin -isysroot $(CFG_IOS_SDK) -mios-version-min=7.0 CC_arm-apple-ios = $(shell xcrun -find -sdk iphoneos clang) CXX_arm-apple-ios = $(shell xcrun -find -sdk iphoneos clang++) CPP_arm-apple-ios = $(shell xcrun -find -sdk iphoneos clang++) AR_arm-apple-ios = $(shell xcrun -find -sdk iphoneos ar) endif CFG_LIB_NAME_arm-apple-ios = lib$(1).a CFG_LIB_GLOB_arm-apple-ios = lib$(1)-*.a CFG_STATIC_LIB_NAME_arm-apple-ios=lib$(1).a CFG_LIB_DSYM_GLOB_arm-apple-ios = lib$(1)-*.a.dSYM CFG_CFLAGS_arm-apple-ios := -arch armv7 -mfpu=vfp3 $(CFG_IOS_FLAGS) CFG_GCCISH_CFLAGS_arm-apple-ios := -Wall -Werror -g -fPIC $(CFG_IOS_FLAGS) -mfpu=vfp3 -arch armv7 CFG_GCCISH_CXXFLAGS_arm-apple-ios := -fno-rtti $(CFG_IOS_FLAGS) -I$(CFG_IOS_SDK)/usr/include/c++/4.2.1 CFG_GCCISH_LINK_FLAGS_arm-apple-ios := -lpthread -syslibroot $(CFG_IOS_SDK) -Wl,-no_compact_unwind CFG_GCCISH_DEF_FLAG_arm-apple-ios := -Wl,-exported_symbols_list, CFG_GCCISH_PRE_LIB_FLAGS_arm-apple-ios := CFG_GCCISH_POST_LIB_FLAGS_arm-apple-ios := CFG_DEF_SUFFIX_arm-apple-ios := .darwin.def CFG_LLC_FLAGS_arm-apple-ios := -mattr=+vfp3,+v7,+thumb2,+neon -march=arm CFG_INSTALL_NAME_arm-apple-ios = -Wl,-install_name,@rpath/$(1) CFG_EXE_SUFFIX_arm-apple-ios := CFG_WINDOWSY_arm-apple-ios := CFG_UNIXY_arm-apple-ios := 1 CFG_PATH_MUNGE_arm-apple-ios := true CFG_LDPATH_arm-apple-ios := CFG_RUN_arm-apple-ios = $(2) CFG_RUN_TARG_arm-apple-ios = $(call CFG_RUN_arm-apple-ios,,$(2)) RUSTC_FLAGS_arm-apple-ios := -C relocation_model=pic RUSTC_CROSS_FLAGS_arm-apple-ios :=-C relocation_model=pic