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
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue