11# i386-apple-ios configuration
2- CFG_SDK_NAME_i386-apple-ios = iphonesimulator
3- CFG_SDK_ARCHS_i386-apple-ios = i386
2+ CFG_SDK_NAME_i386-apple-ios : = iphonesimulator
3+ CFG_SDK_ARCHS_i386-apple-ios : = i386
44ifneq ($(findstring darwin,$(CFG_OSTYPE ) ) ,)
5- CFG_IOSSIM_SDK = $(shell xcrun --show-sdk-path -sdk iphonesimulator 2>/dev/null)
6- CFG_IOSSIM_FLAGS = -target i386-apple-ios -isysroot $(CFG_IOSSIM_SDK ) -mios-simulator-version-min=7.0
5+ CFG_IOSSIM_SDK_i386-apple-ios : = $(shell xcrun --show-sdk-path -sdk iphonesimulator 2>/dev/null)
6+ CFG_IOSSIM_FLAGS_i386-apple-ios : = -m32 - target i386-apple-ios -isysroot $(CFG_IOSSIM_SDK_i386-apple-ios ) -mios-simulator-version-min=7.0
77CC_i386-apple-ios = $(shell xcrun -find -sdk iphonesimulator clang)
88CXX_i386-apple-ios = $(shell xcrun -find -sdk iphonesimulator clang++)
99CPP_i386-apple-ios = $(shell xcrun -find -sdk iphonesimulator clang++)
@@ -13,21 +13,21 @@ CFG_LIB_NAME_i386-apple-ios = lib$(1).a
1313CFG_LIB_GLOB_i386-apple-ios = lib$(1 ) -*.dylib
1414CFG_STATIC_LIB_NAME_i386-apple-ios =lib$(1 ) .a
1515CFG_LIB_DSYM_GLOB_i386-apple-ios = lib$(1 ) -*.dylib.dSYM
16- CFG_GCCISH_CFLAGS_i386-apple-ios = -Wall -Werror -g -fPIC -m32 $(CFG_IOSSIM_FLAGS )
17- CFG_GCCISH_CXXFLAGS_i386-apple-ios = -fno-rtti $(CFG_IOSSIM_FLAGS ) -I$(CFG_IOSSIM_SDK ) /usr/include/c++/4.2.1
18- CFG_GCCISH_LINK_FLAGS_i386-apple-ios = -lpthread -Wl,-no_compact_unwind -m32 -Wl,-syslibroot $(CFG_IOSSIM_SDK )
19- CFG_GCCISH_DEF_FLAG_i386-apple-ios = -Wl,-exported_symbols_list,
20- CFG_GCCISH_PRE_LIB_FLAGS_i386-apple-ios =
21- CFG_GCCISH_POST_LIB_FLAGS_i386-apple-ios =
22- CFG_DEF_SUFFIX_i386-apple-ios = .darwin.def
16+ CFG_GCCISH_CFLAGS_i386-apple-ios : = -Wall -Werror -g -fPIC -m32 $(CFG_IOSSIM_FLAGS_i386-apple-ios )
17+ CFG_GCCISH_CXXFLAGS_i386-apple-ios : = -fno-rtti $(CFG_IOSSIM_FLAGS_i386-apple-ios ) -I$(CFG_IOSSIM_SDK_i386-apple-ios ) /usr/include/c++/4.2.1
18+ CFG_GCCISH_LINK_FLAGS_i386-apple-ios : = -lpthread -m32 - Wl,-no_compact_unwind -m32 -Wl,-syslibroot $(CFG_IOSSIM_SDK_i386-apple-ios )
19+ CFG_GCCISH_DEF_FLAG_i386-apple-ios : = -Wl,-exported_symbols_list,
20+ CFG_GCCISH_PRE_LIB_FLAGS_i386-apple-ios : =
21+ CFG_GCCISH_POST_LIB_FLAGS_i386-apple-ios : =
22+ CFG_DEF_SUFFIX_i386-apple-ios : = .darwin.def
2323CFG_LLC_FLAGS_i386-apple-ios =
2424CFG_INSTALL_NAME_i386-apple-ios = -Wl,-install_name,@rpath/$(1 )
25- CFG_EXE_SUFFIX_i386-apple-ios =
26- CFG_WINDOWSY_i386-apple-ios =
27- CFG_UNIXY_i386-apple-ios = 1
28- CFG_PATH_MUNGE_i386-apple-ios = true
25+ CFG_EXE_SUFFIX_i386-apple-ios : =
26+ CFG_WINDOWSY_i386-apple-ios : =
27+ CFG_UNIXY_i386-apple-ios : = 1
28+ CFG_PATH_MUNGE_i386-apple-ios = : true
2929CFG_LDPATH_i386-apple-ios =
3030CFG_RUN_i386-apple-ios = $(2 )
3131CFG_RUN_TARG_i386-apple-ios = $(call CFG_RUN_i386-apple-ios,,$(2 ) )
32- CFG_JEMALLOC_CFLAGS_i386-apple-ios = $(CFG_IOSSIM_FLAGS ) -target i386-apple-ios -Wl,-syslibroot $(CFG_IOSSIM_SDK ) -Wl,-no_compact_unwind
32+ CFG_JEMALLOC_CFLAGS_i386-apple-ios = $(CFG_IOSSIM_FLAGS_i386-apple-ios ) -target i386-apple-ios # -Wl,-syslibroot $(CFG_IOSSIM_SDK_i386-apple-ios ) -Wl,-no_compact_unwind
3333CFG_GNU_TRIPLE_i386-apple-ios := i386-apple-ios
0 commit comments