]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix cross compilation build in gcc-ar
authorAndi Kleen <ak@linux.intel.com>
Sat, 29 Oct 2011 09:23:23 +0000 (09:23 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Sat, 29 Oct 2011 09:23:23 +0000 (09:23 +0000)
gcc/:
2011-10-29  Andi Kleen  <ak@linux.intel.com>

* gcc-ar.c (target_machine): Add.

From-SVN: r180652

gcc/ChangeLog
gcc/gcc-ar.c

index cb079857976cde451ebac84e323818581cf23317..be5a91a52c1912def1e59cf631fbd911150e9cf5 100644 (file)
@@ -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,
index fc7e4a2a2ec3977bf8b03a1671e0e1e0ae058dc9..1e86d20b88f526bf18fe26a2e0a7f8f84e75c883 100644 (file)
@@ -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 };