OSDN Git Service

PR plugins/53126
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 May 2012 11:09:46 +0000 (11:09 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 May 2012 11:09:46 +0000 (11:09 +0000)
commit0619d6bd8f76f44f0b890d137b42639c1defc7f2
tree0778951e8247e103d0b353193eaac662cacdc262
parentf67719da73ffb38590f9bf78741cb338338c143f
PR plugins/53126
* gcc-ar.c (main): If GCC_EXEC_PREFIX is set in env,
append program name to it and pass that as first argument
to make_relative_prefix.  Always pass standard_libexec_prefix
as last argument to make_relative_prefix.  If
make_relative_prefix returns NULL, fall back to
standard_libexec_prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187091 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gcc-ar.c