projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
89ce706
)
Use -fno-toplevel-reorder with gcc >= 4.2 on sparc-solaris; fixes trac #2312
author
Ian Lynagh
<igloo@earth.li>
Fri, 6 Jun 2008 13:38:17 +0000
(13:38 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 6 Jun 2008 13:38:17 +0000
(13:38 +0000)
aclocal.m4
patch
|
blob
|
history
diff --git
a/aclocal.m4
b/aclocal.m4
index
0432ed3
..
35eb79c
100644
(file)
--- a/
aclocal.m4
+++ b/
aclocal.m4
@@
-984,6
+984,11
@@
AC_CACHE_CHECK([for extra options to pass gcc when compiling via C], [fp_cv_gcc_
)],
[])
;;
+ sparc-*-solaris2)
+ FP_COMPARE_VERSIONS([$fp_gcc_version], [-ge], [4.2],
+ [fp_cv_gcc_extra_opts="$fp_cv_gcc_extra_opts -fno-toplevel-reorder"],
+ [])
+ ;;
esac
])
AC_SUBST([GccExtraViaCOpts],$fp_cv_gcc_extra_opts)