summaryrefslogtreecommitdiff
path: root/external/libjpeg-turbo
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-09-18 12:56:24 +0200
committerMichael Stahl <mstahl@redhat.com>2017-09-18 20:14:25 +0200
commitd5e8904920d4189819836f7abc002898322bb061 (patch)
tree04d14b8c46dbe627a58289ea2b2781addada2f04 /external/libjpeg-turbo
parentaaa26a58ba0f14eab652e0ba7f8d8e66fa479582 (diff)
libjpeg-turbo: fix 32-bit Linux build
If invoked with --build=x86_64-unknown-linux-gnu, its configure will use the same for the host platform, so pass --host too. Change-Id: I4548c48db1811f31c7c78b2c0c74c1abb79784ba
Diffstat (limited to 'external/libjpeg-turbo')
-rw-r--r--external/libjpeg-turbo/ExternalProject_libjpeg-turbo.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libjpeg-turbo/ExternalProject_libjpeg-turbo.mk b/external/libjpeg-turbo/ExternalProject_libjpeg-turbo.mk
index 3175c433b0bf..a86b474e719e 100644
--- a/external/libjpeg-turbo/ExternalProject_libjpeg-turbo.mk
+++ b/external/libjpeg-turbo/ExternalProject_libjpeg-turbo.mk
@@ -26,7 +26,7 @@ $(call gb_ExternalProject_get_state_target,libjpeg-turbo,configure) :
$(call gb_ExternalProject_run,configure,\
MAKE=$(MAKE) ./configure \
--build=$(if $(filter WNT,$(OS)),$(if $(filter INTEL,$(CPUNAME)),i686-pc-cygwin,x86_64-pc-cygwin),$(BUILD_PLATFORM)) \
- $(if $(CROSS_COMPILING),--host=$(HOST_PLATFORM)) \
+ --host=$(if $(filter WNT,$(OS)),$(if $(filter INTEL,$(CPUNAME)),i686-pc-cygwin,x86_64-pc-cygwin),$(HOST_PLATFORM)) \
--with-pic \
--enable-static \
--disable-shared \