Merge pull request #2803 from lazka/make-no-posix-spawn

make: rebuild without posix_spawn support
This commit is contained in:
Christoph Reiter 2022-01-10 20:45:17 +01:00 committed by GitHub
commit d99471f7da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
pkgname=make
pkgver=4.3
pkgrel=2
pkgrel=3
pkgdesc="GNU make utility to maintain groups of programs"
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/make"
@ -25,12 +25,18 @@ prepare() {
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# 32bit msys make is broken without --disable-posix-spawn somehow.
# posix_spawn in cygwin likely isn't faster anway so just disable
# it everywhere: https://github.com/msys2/MSYS2-packages/issues/2801
./configure \
--build=${CHOST} \
--prefix=/usr \
--without-libintl-prefix \
--without-libiconv-prefix \
--without-guile \
--disable-posix-spawn \
ac_cv_dos_paths=yes
make -j1 all