aboutsummaryrefslogtreecommitdiff
path: root/i686/musl/build
diff options
context:
space:
mode:
Diffstat (limited to 'i686/musl/build')
-rwxr-xr-xi686/musl/build24
1 files changed, 0 insertions, 24 deletions
diff --git a/i686/musl/build b/i686/musl/build
deleted file mode 100755
index 0549bc5f..00000000
--- a/i686/musl/build
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh -e
-
-./configure \
- --prefix=/usr \
- --syslibdir=/usr/lib
-
-make
-make DESTDIR="$1" install
-
-mkdir -p "$1/usr/bin"
-ln -s libc.so "$1/usr/lib/libc.musl-x86.so"
-ln -s /usr/lib/ld-musl-i386.so.1 "$1/usr/bin/ldd"
-
-# Install BSD compatibility headers.
-install -Dm 755 cdefs.h "$1/usr/include/sys/cdefs.h"
-install -Dm 755 queue.h "$1/usr/include/sys/queue.h"
-install -Dm 755 tree.h "$1/usr/include/sys/tree.h"
-
-# Install getconf.
-"${CC:-cc}" getconf.c -o "$1/usr/bin/getconf"
-
-# Install libssp_nonshared.a
-"${CC:-cc}" -c __stack_chk_fail_local.c -o __stack_chk_fail_local.o
-ar r "$1/usr/lib/libssp_nonshared.a" __stack_chk_fail_local.o