aboutsummaryrefslogtreecommitdiffstats
path: root/main/binutils
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-03 12:57:09 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-07-03 12:58:20 +0000
commitec8c3e5d3b02dbfffe54a5a9a065694642d90615 (patch)
tree0bf1b14b388d142ef31dab76f87731c9dadbb43f /main/binutils
parent25a26142c09343d39a4ec5a0673390950f63a505 (diff)
downloadaports-ec8c3e5d3b02dbfffe54a5a9a065694642d90615.tar.bz2
aports-ec8c3e5d3b02dbfffe54a5a9a065694642d90615.tar.xz
main/binutils: crosscompile support
Diffstat (limited to 'main/binutils')
-rw-r--r--main/binutils/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index 0bd13e287e..d69e308d80 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -31,7 +31,9 @@ build() {
cd "$_builddir"
./configure --prefix=/usr \
--mandir /usr/share/man \
- --build ${CHOST:-i486-alpine-linux-uclibc} \
+ --build ${CBUILD:-i486-alpine-linux-uclibc} \
+ --host ${CHOST:-i486-alpine-linux-uclibc} \
+ --target ${CTARGET:-i486-alpine-linux-uclibc} \
--infodir /usr/share/info \
--disable-multilib \
--enable-shared \