wrapper.exp ({tool}_maybe_build_wrapper): Clear wrap_compile_flags before setting it.
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
This commit is contained in:
parent
8baff86e56
commit
84a34193c2
@ -1,3 +1,8 @@
|
||||
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-*-*
|
||||
|
@ -34,9 +34,11 @@ proc ${tool}_maybe_build_wrapper { filename args } {
|
||||
# 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]
|
||||
|
Loading…
Reference in New Issue
Block a user