Commit 089b2711 authored by Ian Lynagh's avatar Ian Lynagh

Use -fno-toplevel-reorder with gcc >= 4.2 on sparc-solaris; fixes trac #2312

parent 89ce706a
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment