Commit 488b329c by DJ Delorie Committed by DJ Delorie

wrapper.exp (${tool}_maybe_build_wrapper): Set up GCC_EXEC_PREFIX before building the wrapper.

* lib/wrapper.exp (${tool}_maybe_build_wrapper): Set up
GCC_EXEC_PREFIX before building the wrapper.

From-SVN: r150889
parent e72cee90
2009-08-18 DJ Delorie <dj@redhat.com>
* lib/wrapper.exp (${tool}_maybe_build_wrapper): Set up
GCC_EXEC_PREFIX before building the wrapper.
2009-08-18 Nathan Froyd <froydnj@codesourcery.com>
* gcc.dg/vect/vect.exp: Add new stanza for aligned-section-anchors-*
......
......@@ -16,6 +16,8 @@
# This file contains GCC-specifics for status wrappers for test programs.
load_lib target-libpath.exp
# ${tool}_maybe_build_wrapper -- Build wrapper object if the target
# needs it. FILENAME is the path to the wrapper file. If there are
# additional arguments, they are command-line options to provide to
......@@ -27,6 +29,7 @@ proc ${tool}_maybe_build_wrapper { filename args } {
if { [target_info needs_status_wrapper] != "" \
&& [target_info needs_status_wrapper] != "0" \
&& ![info exists gluefile] } {
set_ld_library_path_env_vars
set saved_wrap_compile_flags [target_info wrap_compile_flags]
set flags [join $args " "]
# The wrapper code may contain code that gcc objects on. This
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment