comparison src/libmng.mk @ 4127:132ee4f1871b

Fix libmng compilation on fast computers with fast SSDs (bug #47712). * src/libmng.mk: Run autoreconf in its own process, followed by configure. Delay between processes guarantees that the first is done before the next starts. Disable parallel make (make -j 1).
author Rik <rik@octave.org>
date Wed, 20 Apr 2016 15:10:50 -0700
parents 10e6b2221c7f
children 253ac032547a
comparison
equal deleted inserted replaced
4126:d9b98f1123cc 4127:132ee4f1871b
16 head -1 16 head -1
17 endef 17 endef
18 18
19 define $(PKG)_BUILD 19 define $(PKG)_BUILD
20 mkdir '$(1)/.build' 20 mkdir '$(1)/.build'
21 cd '$(1)' && autoreconf --install && ./configure \ 21 cd '$(1)' && autoreconf --install
22 cd '$(1)' && ./configure \
22 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ 23 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
24 --prefix='$(HOST_PREFIX)' \ 25 --prefix='$(HOST_PREFIX)' \
25 $(ENABLE_SHARED_OR_STATIC) \ 26 $(ENABLE_SHARED_OR_STATIC) \
26 && $(CONFIGURE_POST_HOOK) 27 && $(CONFIGURE_POST_HOOK)
27 $(MAKE) -C '$(1)' -j '$(JOBS)' 28 $(MAKE) -C '$(1)' -j 1
28 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' 29 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)'
29 endef 30 endef