mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 05:38:14 +00:00
Some progress on X86_64 compilation
This commit is contained in:
parent
b37f799911
commit
cf11f2b27e
4 changed files with 14 additions and 2 deletions
|
|
@ -96,6 +96,12 @@ simu-%:
|
|||
arm64:
|
||||
make -f builder-iphone-os.mk host=aarch64-apple-darwin $(LINPHONE_OPTIONS) V=1 VERBOSE=1
|
||||
|
||||
x64:
|
||||
make -f builder-iphone-os.mk host=x86_64-apple-darwin $(LINPHONE_OPTIONS)
|
||||
|
||||
x64-%:
|
||||
make -f builder-iphone-os.mk host=x86_64-apple-darwin $(LINPHONE_OPTIONS) $* V=1 VERBOSE=1
|
||||
|
||||
|
||||
# sends the target after 'broadcast_' to all sub-architectures (armv7, simu, arm64)
|
||||
broadcast_%:
|
||||
|
|
|
|||
|
|
@ -38,7 +38,8 @@ linphone_configure_controls = \
|
|||
--disable-x11 \
|
||||
--disable-tutorials \
|
||||
--disable-tools \
|
||||
--enable-msg-storage=yes
|
||||
--enable-msg-storage=yes \
|
||||
--enable-ios
|
||||
|
||||
|
||||
#path
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ $(BUILDER_BUILD_DIR)/$(belle-sip_dir)/Makefile: $(BUILDER_SRC_DIR)/$(belle-sip_d
|
|||
mkdir -p $(BUILDER_BUILD_DIR)/$(belle-sip_dir)
|
||||
cd $(BUILDER_BUILD_DIR)/$(belle-sip_dir)/ \
|
||||
&& PKG_CONFIG_LIBDIR=$(prefix)/lib/pkgconfig CONFIG_SITE=$(BUILDER_SRC_DIR)/build/$(config_site) \
|
||||
$(BUILDER_SRC_DIR)/$(belle-sip_dir)/configure --prefix=$(prefix) --host=$(host) ${library_mode} --enable-tls --enable-tunnel --with-polarssl=$(prefix)
|
||||
$(BUILDER_SRC_DIR)/$(belle-sip_dir)/configure --prefix=$(prefix) --host=$(host) ${library_mode} --enable-tls --enable-tunnel --with-polarssl=$(prefix) --enable-ios
|
||||
|
||||
build-belle-sip: $(BUILDER_BUILD_DIR)/$(belle-sip_dir)/Makefile
|
||||
cd $(BUILDER_BUILD_DIR)/$(belle-sip_dir) && PKG_CONFIG_LIBDIR=$(prefix)/lib/pkgconfig CONFIG_SITE=$(BUILDER_SRC_DIR)/build/$(config_site) make && make install
|
||||
|
|
|
|||
|
|
@ -19,6 +19,11 @@ elif test "${host_alias}" = "aarch64-apple-darwin" ; then
|
|||
ARCH=arm64
|
||||
PLATFORM=OS
|
||||
CMAKE_OPTS="-DCMAKE_SYSTEM_PROCESSOR=aarch64"
|
||||
elif test "${host_alias}" = "x86_64-apple-darwin" ; then
|
||||
ARCH=x86_64
|
||||
PLATFORM=Simulator
|
||||
CMAKE_OPTS="-DCMAKE_SYSTEM_PROCESSOR=x86_64"
|
||||
CLANG_TARGET_SPECIFIER=mios-simulator-version-min
|
||||
else
|
||||
echo "bad host ${host_alias} must be either i386-apple-darwin or arm[v7,64]-apple-darwin"
|
||||
exit
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue