PATCH: Use -mtune= instead of -mcpu=

H.J. Lu hjl@lucon.org
Fri Sep 14 18:14:00 GMT 2007


I believe all required gcc support -mtune= and -mcpu= is deprecated.


H.J.
----
2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>

	* Makeconfig (cflags): Use -mtune= instead of -mcpu=.

--- Makeconfig.tune	2007-07-23 11:02:47.000000000 -0700
+++ Makeconfig	2007-09-14 10:44:45.000000000 -0700
@@ -642,7 +642,7 @@ ifeq	"$(strip $(+cflags))" ""
 +cflags	:= $(default_cflags)
 endif	# $(+cflags) == ""
 
-+cflags += $(addprefix -mcpu=,$(with-cpu)) $(+gccwarn) $(+merge-constants)
++cflags += $(addprefix -mtune=,$(with-cpu)) $(+gccwarn) $(+merge-constants)
 +gcc-nowarn := -w
 
 # Don't duplicate options if we inherited variables from the parent.



More information about the Libc-alpha mailing list