PKGNAME=mpfr
PKGSEC=libs
PKGDEP="gmp glibc"
PKGDES="Functions for multiple precision math"

# Configuration:
#
# 1. Enables threaded safety;
# 2. Enables shared libraries (DO NOT disable, you will need this for shared GCC build);
# 3. Declares documentation directory;
AUTOTOOLS_AFTER="--enable-thread-safe \
                 --enable-shared \
                 --docdir=/usr/share/doc/mpfr"
AB_FLAGS_O3=1
AB_FLAGS_SPECS=0

AB_HWCAPS=1
# Stop autotools from executing the compile test code. Otherwise the configure
# stop will fail, when trying to run a program built for higher unsupported
# ISA levels.
AB_HWCAPS_CROSS=1

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
