2015-01-07 04:24:18 -06:00
|
|
|
# armv7s-apple-ios configuration
|
|
|
|
CFG_SDK_NAME_armv7s-apple-ios := iphoneos
|
|
|
|
CFG_SDK_ARCHS_armv7s-apple-ios := armv7s
|
|
|
|
ifneq ($(findstring darwin,$(CFG_OSTYPE)),)
|
|
|
|
CFG_IOS_SDK_armv7s-apple-ios := $(shell xcrun --show-sdk-path -sdk iphoneos 2>/dev/null)
|
|
|
|
CFG_IOS_SDK_FLAGS_armv7s-apple-ios := -target armv7s-apple-ios -isysroot $(CFG_IOS_SDK_armv7s-apple-ios) -mios-version-min=7.0
|
|
|
|
CC_armv7s-apple-ios = $(shell xcrun -find -sdk iphoneos clang)
|
|
|
|
CXX_armv7s-apple-ios = $(shell xcrun -find -sdk iphoneos clang++)
|
|
|
|
CPP_armv7s-apple-ios = $(shell xcrun -find -sdk iphoneos clang++)
|
|
|
|
AR_armv7s-apple-ios = $(shell xcrun -find -sdk iphoneos ar)
|
|
|
|
endif
|
|
|
|
CFG_LIB_NAME_armv7s-apple-ios = lib$(1).a
|
|
|
|
CFG_LIB_GLOB_armv7s-apple-ios = lib$(1)-*.a
|
2014-06-25 07:33:49 -05:00
|
|
|
CFG_INSTALL_ONLY_RLIB_armv7s-apple-ios = 1
|
2015-01-07 04:24:18 -06:00
|
|
|
CFG_STATIC_LIB_NAME_armv7s-apple-ios=lib$(1).a
|
|
|
|
CFG_LIB_DSYM_GLOB_armv7s-apple-ios = lib$(1)-*.a.dSYM
|
|
|
|
CFG_JEMALLOC_CFLAGS_armv7s-apple-ios := -arch armv7s -mfpu=vfp4 $(CFG_IOS_SDK_FLAGS_armv7s-apple-ios)
|
|
|
|
CFG_GCCISH_CFLAGS_armv7s-apple-ios := -Wall -Werror -g -fPIC $(CFG_IOS_SDK_FLAGS_armv7s-apple-ios) -mfpu=vfp4 -arch armv7s
|
|
|
|
CFG_GCCISH_CXXFLAGS_armv7s-apple-ios := -fno-rtti $(CFG_IOS_SDK_FLAGS_armv7s-apple-ios) -I$(CFG_IOS_SDK_armv7s-apple-ios)/usr/include/c++/4.2.1
|
|
|
|
CFG_GCCISH_LINK_FLAGS_armv7s-apple-ios := -lpthread -syslibroot $(CFG_IOS_SDK_armv7s-apple-ios) -Wl,-no_compact_unwind
|
|
|
|
CFG_GCCISH_DEF_FLAG_armv7s-apple-ios := -Wl,-exported_symbols_list,
|
|
|
|
CFG_LLC_FLAGS_armv7s-apple-ios := -mattr=+vfp4,+v7,+neon
|
|
|
|
CFG_INSTALL_NAME_armv7s-apple-ios = -Wl,-install_name,@rpath/$(1)
|
|
|
|
CFG_EXE_SUFFIX_armv7s-apple-ios :=
|
|
|
|
CFG_WINDOWSY_armv7s-apple-ios :=
|
|
|
|
CFG_UNIXY_armv7s-apple-ios := 1
|
|
|
|
CFG_LDPATH_armv7s-apple-ios :=
|
|
|
|
CFG_RUN_armv7s-apple-ios = $(2)
|
|
|
|
CFG_RUN_TARG_armv7s-apple-ios = $(call CFG_RUN_armv7s-apple-ios,,$(2))
|
|
|
|
CFG_GNU_TRIPLE_armv7s-apple-ios := armv7s-apple-ios
|