enable x86_64 build

This commit is contained in:
Guillaume BIENKOWSKI 2015-03-11 12:00:19 +01:00
parent 709c5849d1
commit fa6ef0ca7c
4 changed files with 13 additions and 3 deletions

View file

@ -119,10 +119,10 @@ 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)
make -f builder-iphone-os.mk host=x86_64-apple-darwin.ios $(LINPHONE_OPTIONS)
x64-%:
make -f builder-iphone-os.mk host=x86_64-apple-darwin $(LINPHONE_OPTIONS) $* V=1 VERBOSE=1
make -f builder-iphone-os.mk host=x86_64-apple-darwin.ios $(LINPHONE_OPTIONS) $* V=1 VERBOSE=1
# sends the target after 'broadcast_' to all sub-architectures (armv7, simu, arm64)

View file

@ -35,6 +35,9 @@ else ifneq (,$(findstring armv7,$(host)))
else ifneq (,$(findstring aarch64,$(host)))
libvpx_configure_options+= --target=arm64-darwin-gcc
take_binary = arm64
else ifneq (,$(findstring x86_64,$(host)))
libvpx_configure_options+= --target=x86_64-iphonesimulator-gcc
take_binary = x86_64
else
libvpx_configure_options+= --target=x86-darwin10-gcc
take_binary = i386

View file

@ -29,6 +29,13 @@ endif
ifneq (,$(findstring aarch64-,$(host)))
ARCH=arm64
endif
ifneq (,$(findstring x86_64-,$(host)))
ARCH=x86_64
endif
ifeq (,$(ARCH))
$(error Undefined arch for openh264)
endif
openh264_dir?=externals/openh264

View file

@ -19,7 +19,7 @@ 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
elif test "${host_alias}" = "x86_64-apple-darwin.ios" ; then
ARCH=x86_64
PLATFORM=Simulator
CMAKE_OPTS="-DCMAKE_SYSTEM_PROCESSOR=x86_64"