diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-11-30 20:12:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-11-30 20:12:07 +0000 |
commit | 2311cfeed4cf7b66f7360993017d9e4a920f6559 (patch) | |
tree | e63e90abd90306d90132229495298550f785cb63 /tools | |
parent | 47f09fd3456ae3e03ee667ce231d90e350443e57 (diff) | |
download | upstream-2311cfeed4cf7b66f7360993017d9e4a920f6559.tar.gz upstream-2311cfeed4cf7b66f7360993017d9e4a920f6559.tar.bz2 upstream-2311cfeed4cf7b66f7360993017d9e4a920f6559.zip |
gengetopt: fix parallel build issues (#18442)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43440
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile | 1 | ||||
-rw-r--r-- | tools/gengetopt/Makefile | 2 | ||||
-rw-r--r-- | tools/gengetopt/patches/100-dependency_fix.patch | 11 |
3 files changed, 14 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile index 27d0dc1c79..b9fc47e2ef 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -73,6 +73,7 @@ $(curdir)/padjffs2/compile := $(curdir)/findutils/install $(curdir)/cloog/compile := $(curdir)/ppl/install $(curdir)/bc/compile := $(curdir)/bison/install $(curdir)/findutils/compile := $(curdir)/bison/install +$(curdir)/gengetopt/compile := $(curdir)/automake/install ifneq ($(CONFIG_CCACHE),) $(foreach tool, $(tools-y), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/install)) diff --git a/tools/gengetopt/Makefile b/tools/gengetopt/Makefile index a66fbe6605..74e528e6fd 100644 --- a/tools/gengetopt/Makefile +++ b/tools/gengetopt/Makefile @@ -13,6 +13,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/$(PKG_NAME) PKG_MD5SUM:=29749a48dda69277ab969c510597a14e +HOST_FIXUP := autoreconf + HOST_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/host-build.mk diff --git a/tools/gengetopt/patches/100-dependency_fix.patch b/tools/gengetopt/patches/100-dependency_fix.patch new file mode 100644 index 0000000000..69cb598b7d --- /dev/null +++ b/tools/gengetopt/patches/100-dependency_fix.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -51,7 +51,7 @@ libgengetopt_la_LIBADD = $(top_builddir) + @LTLIBOBJS@ \ + skels/libgen.la + +-LDADD = $(top_builddir)/src/libgengetopt.la ++LDADD = libgengetopt.la + + EXTRA_DIST = parser.h argsdef.h gengetopt.h ggos.h gm.h gnugetopt.h \ + cmdline.c cmdline.h \ |