From 26168a99d24dd09d955ac4bab3332dc55ce07d29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 8 Jul 2013 10:10:56 +0000 Subject: main/binutils: support crosscompiling --- main/binutils/APKBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'main/binutils') diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD index d69e308d80..a2aa83b482 100644 --- a/main/binutils/APKBUILD +++ b/main/binutils/APKBUILD @@ -29,12 +29,14 @@ prepare() { build() { cd "$_builddir" + ./configure --prefix=/usr \ - --mandir /usr/share/man \ - --build ${CBUILD:-i486-alpine-linux-uclibc} \ - --host ${CHOST:-i486-alpine-linux-uclibc} \ - --target ${CTARGET:-i486-alpine-linux-uclibc} \ - --infodir /usr/share/info \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-build-sysroot="${CBUILDROOT}" \ + --build=${CBUILD} \ + --host=${CHOST} \ + --target=${CTARGET} \ --disable-multilib \ --enable-shared \ --enable-64-bit-bfd \ -- cgit v1.2.3