From: Andi Kleen Date: Sat, 29 Oct 2011 09:23:23 +0000 (+0000) Subject: Fix cross compilation build in gcc-ar X-Git-Tag: releases/gcc-4.7.0~2717 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a59e22a63a4bd1d90d647a461eb91f2e5ec4d7e;p=thirdparty%2Fgcc.git Fix cross compilation build in gcc-ar gcc/: 2011-10-29 Andi Kleen * gcc-ar.c (target_machine): Add. From-SVN: r180652 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb079857976c..be5a91a52c19 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-10-29 Andi Kleen + + * gcc-ar.c (target_machine): Add. + 2011-10-29 Anatoly Sokolov * 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 fc7e4a2a2ec3..1e86d20b88f5 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 };