aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-08-23 20:03:29 +0200
committerJo-Philipp Wich <jo@mein.io>2018-12-18 10:34:07 +0100
commit34e3a4a034bb5ae6cde7234dabac73a06c1c0386 (patch)
treef6ac4fbb56bdb88bafcd7d94bc24c8f438d9a11b /package
parent30d7924c3c62cd9a8dd404996e902101525b7356 (diff)
downloadupstream-34e3a4a034bb5ae6cde7234dabac73a06c1c0386.tar.gz
upstream-34e3a4a034bb5ae6cde7234dabac73a06c1c0386.tar.bz2
upstream-34e3a4a034bb5ae6cde7234dabac73a06c1c0386.zip
wolfssl: disable broken shipped Job server macro
The AX_AM_JOBSERVER macro shipped with m4/ax_am_jobserver.m4 is broken on plain POSIX shells due to the use of `let`. Shells lacking `let` will fail to run the generated m4sh code and end up invoking "make" with "-jyes" as argument, fialing the build. Since there is no reason in the first place for some random package to muck with the make job server settings and since we do not want it to randomly override "-j" either, simply remove references to this defunct macro to let the build succeed on platforms which not happen to use bash as default shell. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (backported from a27de701b0250b06302350d25dc514e1b488dc59)
Diffstat (limited to 'package')
-rw-r--r--package/libs/wolfssl/patches/900-remove-broken-autoconf-macros.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/libs/wolfssl/patches/900-remove-broken-autoconf-macros.patch b/package/libs/wolfssl/patches/900-remove-broken-autoconf-macros.patch
new file mode 100644
index 0000000000..f7756b11c6
--- /dev/null
+++ b/package/libs/wolfssl/patches/900-remove-broken-autoconf-macros.patch
@@ -0,0 +1,21 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -4140,7 +4140,6 @@ AC_CONFIG_FILES([support/wolfssl.pc])
+ AC_CONFIG_FILES([rpm/spec])
+
+ AX_CREATE_GENERIC_CONFIG
+-AX_AM_JOBSERVER([yes])
+
+ AC_OUTPUT
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -20,8 +20,6 @@ dist_noinst_SCRIPTS =
+ noinst_SCRIPTS =
+ check_SCRIPTS =
+
+-#includes additional rules from aminclude.am
+-@INC_AMINCLUDE@
+ DISTCLEANFILES+= aminclude.am
+
+ CLEANFILES+= cert.der \