This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

patch for target/3722 (powerpc --with-cpu= option)


Here's a patch for the PR I just filed.  Looks like something changed in the
quoting of target_cpu_default2 since 2.95...

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

2001-07-17  Daniel Jacobowitz  <drow@mvista.com>

	* config.gcc: Quote target_cpu_default2 correctly for
	powerpc*-*-* targets.

--- config.gcc.bak	Tue Jul 17 17:07:35 2001
+++ config.gcc	Tue Jul 17 17:18:27 2001
@@ -3526,7 +3526,7 @@
 		  | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
 		  | xec603e | x740 | x750 | x401 \
 		  | x403 | x505 | x801 | x821 | x823 | x860)
-			target_cpu_default2="\"$with_cpu\""
+			target_cpu_default2="\\\"$with_cpu\\\""
 			;;
 
 		xyes | xno)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]