Commit 25b118dd authored by Damien Fouilleul's avatar Damien Fouilleul

contribs: force --target, --build and --host whether cross compiling or not to...

contribs: force --target, --build and --host whether cross compiling or not to get around some configure script bugs
parent 3251bacd
...@@ -91,12 +91,12 @@ endif ...@@ -91,12 +91,12 @@ endif
# #
# cross compiling # cross compiling
# #
HOSTCONF=--target=$(HOST) --host=$(HOST) --build=$(BUILD)
ifneq ($(BUILD),$(HOST)) ifneq ($(BUILD),$(HOST))
# #
# Compiling for MinGW under Cygwin could be deemed as cross compiling # Compiling for MinGW under Cygwin could be deemed as cross compiling
# unfortunately there isn't a complete separate GCC toolchain for MinGW under Cygwin # unfortunately there isn't a complete separate GCC toolchain for MinGW under Cygwin
# #
HOSTCONF=--host=$(HOST) --build=$(BUILD)
ifeq ($(findstring cygwin,$(BUILD)),) ifeq ($(findstring cygwin,$(BUILD)),)
# We are REALLY cross compiling # We are REALLY cross compiling
FFMPEGCONF=--cross-prefix=$(HOST)- FFMPEGCONF=--cross-prefix=$(HOST)-
......
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