aboutsummaryrefslogtreecommitdiff
path: root/i686/binutils/build
diff options
context:
space:
mode:
Diffstat (limited to 'i686/binutils/build')
-rwxr-xr-xi686/binutils/build26
1 files changed, 26 insertions, 0 deletions
diff --git a/i686/binutils/build b/i686/binutils/build
new file mode 100755
index 00000000..82d65c39
--- /dev/null
+++ b/i686/binutils/build
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+
+cat > makeinfo <<EOF
+#!/bin/sh
+printf 'makeinfo (GNU texinfo) 5.2\n'
+EOF
+
+chmod +x makeinfo
+export PATH=$PATH:$PWD
+
+./configure \
+ --prefix=/usr \
+ --build=i686-pc-linux-musl \
+ --host=i686-pc-linux-musl \
+ --enable-targets=i686-pep \
+ --disable-multilib \
+ --disable-werror \
+ --disable-gdb \
+ --disable-nls \
+ --disable-readline \
+ --disable-gprof \
+ --with-mmap \
+ --with-system-zlib
+
+make
+make DESTDIR="$1" install