b45c15ecca
We're not writing C code, so there's not really much of a reason for us to get warnings and errors from code we haven't written!
31 lines
1.8 KiB
Makefile
31 lines
1.8 KiB
Makefile
# 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
|
|
CFG_INSTALL_ONLY_RLIB_armv7s-apple-ios = 1
|
|
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 $(CFG_IOS_SDK_FLAGS_armv7s-apple-ios)
|
|
CFG_GCCISH_CFLAGS_armv7s-apple-ios := -g -fPIC $(CFG_IOS_SDK_FLAGS_armv7s-apple-ios) -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
|