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 | 4b48effa89d4107df5198b99850d0a9366fe2735 (patch) | |
tree | 11f70670fba09200e564bc797124a5bf4e5ed834 /tools/gengetopt | |
parent | 9178792bcb155307f280abea26b5dbe980d52e73 (diff) | |
download | upstream-4b48effa89d4107df5198b99850d0a9366fe2735.tar.gz upstream-4b48effa89d4107df5198b99850d0a9366fe2735.tar.bz2 upstream-4b48effa89d4107df5198b99850d0a9366fe2735.zip |
gengetopt: fix parallel build issues (#18442)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43440 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/gengetopt')
-rw-r--r-- | tools/gengetopt/Makefile | 2 | ||||
-rw-r--r-- | tools/gengetopt/patches/100-dependency_fix.patch | 11 |
2 files changed, 13 insertions, 0 deletions
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 \ |