diff options
Diffstat (limited to 'core/ppl/PKGBUILD')
-rw-r--r-- | core/ppl/PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/ppl/PKGBUILD b/core/ppl/PKGBUILD index 193da1a19..57cb47e14 100644 --- a/core/ppl/PKGBUILD +++ b/core/ppl/PKGBUILD @@ -16,6 +16,11 @@ md5sums=('ce014f153a28006009db207ca953a984') build() { cd $srcdir/ppl-$pkgver + # Workaround madd.d making a SIGILL on a NaN. + [ "$CARCH" == "mips64el" ] && { + CFLAGS=${CFLAGS/-march=loongson2f/-march=mips3 -mtune=loongson2f} + CXXFLAGS=${CXXFLAGS/-march=loongson2f/-march=mips3 -mtune=loongson2f} + } ./configure --prefix=/usr --enable-interfaces="c,cxx" make } |