Add the one job a a time fix from (#1866)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7590 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7e6b70a830
commit
20e82eaa38
@ -87,16 +87,17 @@ define Build/Configure
|
|||||||
--without-tcl \
|
--without-tcl \
|
||||||
--without-tk \
|
--without-tk \
|
||||||
--with-zlib="yes" \
|
--with-zlib="yes" \
|
||||||
|
--enable-depend \
|
||||||
);
|
);
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc CC="$(HOSTCC)" CFLAGS+="-I../../libpq"
|
$(MAKE) -C $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc CC="$(HOSTCC)" CFLAGS+="-I../../libpq" -j1
|
||||||
mv $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg \
|
mv $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg \
|
||||||
$(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg.host
|
$(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg.host
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/src/timezone CC="$(HOSTCC)"
|
$(MAKE) -C $(PKG_BUILD_DIR)/src/timezone CC="$(HOSTCC)" -j1
|
||||||
mv $(PKG_BUILD_DIR)/src/timezone/zic $(PKG_BUILD_DIR)/src/timezone/zic.host
|
mv $(PKG_BUILD_DIR)/src/timezone/zic $(PKG_BUILD_DIR)/src/timezone/zic.host
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/src/bin/pg_config CC="$(HOSTCC)"
|
$(MAKE) -C $(PKG_BUILD_DIR)/src/bin/pg_config CC="$(HOSTCC)" -j1
|
||||||
mv $(PKG_BUILD_DIR)/src/bin/pg_config/pg_config \
|
mv $(PKG_BUILD_DIR)/src/bin/pg_config/pg_config \
|
||||||
$(PKG_BUILD_DIR)/src/bin/pg_config/pg_config.host
|
$(PKG_BUILD_DIR)/src/bin/pg_config/pg_config.host
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) distclean
|
$(MAKE) -C $(PKG_BUILD_DIR) distclean -j1
|
||||||
|
|
||||||
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
@ -140,13 +141,14 @@ define Build/Configure
|
|||||||
--without-tcl \
|
--without-tcl \
|
||||||
--without-tk \
|
--without-tk \
|
||||||
--with-zlib="yes" \
|
--with-zlib="yes" \
|
||||||
|
--enable-depend \
|
||||||
);
|
);
|
||||||
$(SED) 's@ECPG = ../../preproc/ecpg@ECPG = ../../preproc/ecpg.host@' $(PKG_BUILD_DIR)/src/interfaces/ecpg/test/Makefile.regress
|
$(SED) 's@ECPG = ../../preproc/ecpg@ECPG = ../../preproc/ecpg.host@' $(PKG_BUILD_DIR)/src/interfaces/ecpg/test/Makefile.regress
|
||||||
$(SED) 's@\./zic -d@./zic.host -d@' $(PKG_BUILD_DIR)/src/timezone/Makefile
|
$(SED) 's@\./zic -d@./zic.host -d@' $(PKG_BUILD_DIR)/src/timezone/Makefile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C "$(PKG_BUILD_DIR)" \
|
$(MAKE) -C "$(PKG_BUILD_DIR)" -j1 \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
all install
|
all install
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user