dmd: broken for i686-musl
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
fc2766f53e
commit
c56e21fb38
1 changed files with 5 additions and 1 deletions
|
@ -22,10 +22,11 @@ conf_files="/etc/dmd.conf"
|
||||||
provides="d-compiler-${version}_${revision}"
|
provides="d-compiler-${version}_${revision}"
|
||||||
conflicts="dmd-bootstrap"
|
conflicts="dmd-bootstrap"
|
||||||
nopie=yes
|
nopie=yes
|
||||||
|
LDFLAGS="-lpthread"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*) _archbits=64;;
|
x86_64*) _archbits=64;;
|
||||||
i686*) _archbits=32;;
|
i686) _archbits=32;;
|
||||||
*) broken="unsupported arch upstream";;
|
*) broken="unsupported arch upstream";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -39,6 +40,9 @@ post_extract() {
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) patch -p0 < ${FILESDIR}/musl.patch
|
*-musl) patch -p0 < ${FILESDIR}/musl.patch
|
||||||
|
if [ "$XBPS_TARGET_MACHINE" = "i686-musl" ]; then
|
||||||
|
patch -p0 < ${FILESDIR}/i686-musl.patch
|
||||||
|
fi
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue