diff options
author | Andi Kleen <ak@linux.intel.com> | 2011-10-29 09:23:23 +0000 |
---|---|---|
committer | Andi Kleen <ak@gcc.gnu.org> | 2011-10-29 09:23:23 +0000 |
commit | 7a59e22a63a4bd1d90d647a461eb91f2e5ec4d7e (patch) | |
tree | 019f0ea806d294a24879ba4824ca3851a818729d /gcc | |
parent | a08160c31cf81def3a4ffd8bec935f3ca91ad84a (diff) | |
download | gcc-7a59e22a63a4bd1d90d647a461eb91f2e5ec4d7e.zip gcc-7a59e22a63a4bd1d90d647a461eb91f2e5ec4d7e.tar.gz gcc-7a59e22a63a4bd1d90d647a461eb91f2e5ec4d7e.tar.bz2 |
Fix cross compilation build in gcc-ar
gcc/:
2011-10-29 Andi Kleen <ak@linux.intel.com>
* gcc-ar.c (target_machine): Add.
From-SVN: r180652
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gcc-ar.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb07985..be5a91a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-10-29 Andi Kleen <ak@linux.intel.com> + + * gcc-ar.c (target_machine): Add. + 2011-10-29 Anatoly Sokolov <aesok@post.ru> * config/cris/cris.c (reg_ok_for_base_p, reg_ok_for_index_p, diff --git a/gcc/gcc-ar.c b/gcc/gcc-ar.c index fc7e4a2..1e86d20 100644 --- a/gcc/gcc-ar.c +++ b/gcc/gcc-ar.c @@ -29,6 +29,7 @@ along with GCC; see the file COPYING3. If not see static const char standard_libexec_prefix[] = STANDARD_LIBEXEC_PREFIX; static const char standard_bin_prefix[] = STANDARD_BINDIR_PREFIX; +static const char *const target_machine = TARGET_MACHINE; static const char dir_separator[] = { DIR_SEPARATOR, 0 }; |