diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-18 06:34:20 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-18 06:34:20 +0000 |
commit | 5c3b4f09104a503edeb09d3027697049dbc4b185 (patch) | |
tree | bd2429debce634c56c7c4f428fb611806278dfa7 /libatomic | |
parent | 464df31cbcf678834646847ada44f98eefbd3e1a (diff) | |
download | gcc-5c3b4f09104a503edeb09d3027697049dbc4b185.tar.gz |
* configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212778 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libatomic')
-rw-r--r-- | libatomic/ChangeLog | 4 | ||||
-rw-r--r-- | libatomic/configure.tgt | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index 4d75846be14..921c1205eae 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/libatomic/configure.tgt b/libatomic/configure.tgt index c53b8ce95b6..d3e01f90331 100644 --- a/libatomic/configure.tgt +++ b/libatomic/configure.tgt @@ -27,7 +27,11 @@ # 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 ;; |