diff options
author | ak <ak@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-29 09:23:23 +0000 |
---|---|---|
committer | ak <ak@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-29 09:23:23 +0000 |
commit | 3b9a92b361e878b69fa55bd55fd7564bd70113b8 (patch) | |
tree | 019f0ea806d294a24879ba4824ca3851a818729d /gcc | |
parent | 5b96044e26742da745c5a4f6f09d5d6a1a207449 (diff) | |
download | gcc-3b9a92b361e878b69fa55bd55fd7564bd70113b8.tar.gz |
Fix cross compilation build in gcc-ar
gcc/:
2011-10-29 Andi Kleen <ak@linux.intel.com>
* gcc-ar.c (target_machine): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180652 138bc75d-0d04-0410-961f-82ee72b054a4
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 cb079857976..be5a91a52c1 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 fc7e4a2a2ec..1e86d20b88f 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 }; |