* configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
From-SVN: r212778
+2013-07-18 Uros Bizjak <ubizjak@gmail.com>
+
+ * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
+
2014-06-17 Kai Tietz <ktietz@redhat.com>
* Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
# work out any special compilation flags as necessary.
case "${target_cpu}" in
- alpha*) ARCH=alpha ;;
+ alpha*)
+ # fenv.c needs this option to generate inexact exceptions.
+ XCFLAGS="${XCFLAGS} -mfp-trap-mode=sui"
+ ARCH=alpha
+ ;;
rs6000 | powerpc*) ARCH=powerpc ;;
sh*) ARCH=sh ;;