Commit 1b943fd7 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

contrib: fix cross-compile for x86_64

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 34fef72d
......@@ -100,6 +100,13 @@ FFMPEGCONF += --arch=x86
endif
endif
# x86_64 stuff
ifeq ($(ARCH),x86_64)
ifndef HAVE_DARWIN_OS
FFMPEGCONF += --arch=x86_64
endif
endif
# Darwin
ifdef HAVE_DARWIN_OS
FFMPEGCONF += --arch=$(ARCH) --target-os=darwin
......
......@@ -40,6 +40,9 @@ ifdef HAVE_ANDROID
ifeq ($(ANDROID_ABI), x86)
GCRYPT_CONF += ac_cv_sys_symbol_underscore=no
endif
ifeq ($(ANDROID_ABI), x86_64)
GCRYPT_CONF += ac_cv_sys_symbol_underscore=no
endif
endif
.gcrypt: libgcrypt
......
......@@ -50,6 +50,11 @@ ifeq ($(ARCH),i386)
POSTPROCCONF += --arch=x86
endif
# x86_64 stuff
ifeq ($(ARCH),x86_64)
POSTPROCCONF += --arch=x64_64
endif
# Darwin
ifdef HAVE_DARWIN_OS
POSTPROCCONF += --arch=$(ARCH) --target-os=darwin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment