aboutsummaryrefslogtreecommitdiff
path: root/core/binutils/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/binutils/build')
-rwxr-xr-xcore/binutils/build14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/binutils/build b/core/binutils/build
new file mode 100755
index 00000000..361d7126
--- /dev/null
+++ b/core/binutils/build
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --build=x86_64-pc-linux-musl \
+ --host=x86_64-pc-linux-musl \
+ --enable-targets=x86_64-pep \
+ --disable-multilib \
+ --disable-werror \
+ --with-mmap \
+ --with-system-zlib
+
+make
+make DESTDIR="$1" install