summaryrefslogtreecommitdiffstats
path: root/src/libjpeg-turbo.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjpeg-turbo.mk')
-rw-r--r--src/libjpeg-turbo.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libjpeg-turbo.mk b/src/libjpeg-turbo.mk
index c4157d9..59f7210 100644
--- a/src/libjpeg-turbo.mk
+++ b/src/libjpeg-turbo.mk
@@ -22,7 +22,8 @@ define $(PKG)_BUILD
--libdir='$(PREFIX)/$(TARGET)/lib/$(PKG)' \
--includedir='$(PREFIX)/$(TARGET)/include/$(PKG)' \
NASM=$(TARGET)-yasm
- $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_CRUFT)
+ $(MAKE) -C '$(1)' -j '$(JOBS)' || $(MAKE) -C '$(1)' -j 1
+ $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_CRUFT)
# create pkg-config file
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig'