summaryrefslogtreecommitdiff
path: root/src/stage2/patches/generic/make.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/stage2/patches/generic/make.patch')
-rw-r--r--src/stage2/patches/generic/make.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/stage2/patches/generic/make.patch b/src/stage2/patches/generic/make.patch
new file mode 100644
index 0000000..163262b
--- /dev/null
+++ b/src/stage2/patches/generic/make.patch
@@ -0,0 +1,21 @@
+--- a/PKGBUILD 2018-02-24 21:10:21.233328122 +0100
++++ b/PKGBUILD 2018-02-26 18:14:31.968676490 +0100
+@@ -10,7 +10,7 @@ arch=('x86_64')
+ url="http://www.gnu.org/software/make"
+ license=('GPL3')
+ groups=('base-devel')
+-depends=('glibc' 'guile')
++depends=('glibc')
+ source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}
+ guile-2.2.patch)
+ md5sums=('15b012617e7c44c0ed482721629577ac'
+@@ -26,7 +26,8 @@ prepare() {
+
+ build() {
+ cd ${pkgname}-${pkgver}
+- ./configure --prefix=/usr
++ ./configure --host=@CHOST@ --build=@BUILDHOST@ --without-guile --prefix=/usr \
++ LDFLAGS="-lc $LDFLAGS"
+ make
+ }
+