2014-10-24 Christophe Lyon <christophe.lyon@linaro.org>
* lib/wrapper.exp ({tool}_maybe_build_wrapper): Clear
wrap_compile_flags before setting it.
From-SVN: r216638
+2014-10-24 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * lib/wrapper.exp ({tool}_maybe_build_wrapper): Clear
+ wrap_compile_flags before setting it.
+
2014-10-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/pr63594-1.c: Apply -mno-mmx to all i?86-*-* and x86_64-*-*
# became true for dejagnu-1.4.4. The set of warnings and code
# that gcc objects on may change, so just make sure -w is always
# passed to turn off all warnings.
+ unset_currtarget_info wrap_compile_flags
set_currtarget_info wrap_compile_flags \
"$saved_wrap_compile_flags -w $flags"
set result [build_wrapper $filename]
+ unset_currtarget_info wrap_compile_flags
set_currtarget_info wrap_compile_flags "$saved_wrap_compile_flags"
if { $result != "" } {
set gluefile [lindex $result 0]