summaryrefslogtreecommitdiff
path: root/gcc/gcc-ar.c
diff options
context:
space:
mode:
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-29 09:23:23 +0000
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-29 09:23:23 +0000
commit3b9a92b361e878b69fa55bd55fd7564bd70113b8 (patch)
tree019f0ea806d294a24879ba4824ca3851a818729d /gcc/gcc-ar.c
parent5b96044e26742da745c5a4f6f09d5d6a1a207449 (diff)
downloadgcc-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/gcc-ar.c')
-rw-r--r--gcc/gcc-ar.c1
1 files changed, 1 insertions, 0 deletions
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 };