blob: b7b6710e628d19a20155e57357255c623a54d810 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff -rupN a/PKGBUILD b/PKGBUILD
--- a/PKGBUILD 2018-06-20 07:56:40.877881835 +0200
+++ b/PKGBUILD 2018-06-20 11:07:26.331329370 +0200
@@ -51,6 +51,7 @@ build() {
cd binutils-build
"$srcdir/binutils-$pkgver/configure" \
+ --host=@CHOST@ --build=@BUILDHOST@ \
--prefix=/usr \
--with-lib-path=/usr/lib:/usr/local/lib \
--with-bugurl=https://bugs.archlinux.org/ \
@@ -66,7 +67,7 @@ build() {
--disable-gdb \
--disable-werror \
--with-pic \
- --with-system-zlib
+ --with-system-zlib=@SYSROOT@/usr/lib/libz.so
make configure-host
make tooldir=/usr
|