Skip to content
Snippets Groups Projects
Commit abd8cd13 authored by YunQiang Su's avatar YunQiang Su
Browse files

MIPS: Don't add nan2008 option for -mtune=native

Users may wish just use -mtune=native for performance tuning only.
Let's don't make trouble for its case.

gcc/

	* config/mips/driver-native.cc (host_detect_local_cpu):
	don't add nan2008 option for -mtune=native.
parent 63df7990
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,8 @@ host_detect_local_cpu (int argc, const char **argv)
fallback_cpu:
#if defined (__mips_nan2008)
/* Put the ret to the end of list, since it may be NULL. */
ret = reconcat (ret, " -mnan=2008 ", ret, NULL);
if (arch)
ret = reconcat (ret, " -mnan=2008 ", ret, NULL);
#endif
#ifdef HAVE_GETAUXVAL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment