dmd: broken for i686-musl

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-09-05 19:19:53 +02:00
parent fc2766f53e
commit c56e21fb38
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 5 additions and 1 deletions

View File

@ -22,10 +22,11 @@ conf_files="/etc/dmd.conf"
provides="d-compiler-${version}_${revision}"
conflicts="dmd-bootstrap"
nopie=yes
LDFLAGS="-lpthread"
case "$XBPS_TARGET_MACHINE" in
x86_64*) _archbits=64;;
i686*) _archbits=32;;
i686) _archbits=32;;
*) broken="unsupported arch upstream";;
esac
@ -39,6 +40,9 @@ post_extract() {
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl) patch -p0 < ${FILESDIR}/musl.patch
if [ "$XBPS_TARGET_MACHINE" = "i686-musl" ]; then
patch -p0 < ${FILESDIR}/i686-musl.patch
fi
esac
}