summaryrefslogtreecommitdiffstats
path: root/make/jpeg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/jpeg.mk')
-rw-r--r--make/jpeg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/jpeg.mk b/make/jpeg.mk
index 34e985e5d..fa15569e6 100644
--- a/make/jpeg.mk
+++ b/make/jpeg.mk
@@ -37,9 +37,11 @@ $(JPEG_DIR)/.unpacked: $(DL_DIR)/$(JPEG_SOURCE)
$(JPEG_DIR)/.configured: $(JPEG_DIR)/.unpacked
zcat $(DL_DIR)/$(JPEG_SOURCE) | tar -C $(BUILD_DIR) -xvf -
(cd $(JPEG_DIR); rm -rf config.cache; \
- PATH=$(TARGET_PATH) CC=$(TARGET_CC) \
+ $(TARGET_CONFIGURE_OPTS) \
./configure \
--target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \