From 032502c26ffec2ca9b3721df0ffd4808bd149e18 Mon Sep 17 00:00:00 2001
From: Kai Tietz <kai.tietz@onevision.com>
Date: Tue, 28 Jul 2009 16:52:21 +0000
Subject: [PATCH] mingw-w64.h (LINK_SPEC): Add separating space between
 commands.

2009-07-28  Kai Tietz  <kai.tietz@onevision.com>

	* config/i386/mingw-w64.h (LINK_SPEC): Add
	separating space between commands.

From-SVN: r150170
---
 gcc/ChangeLog               | 5 +++++
 gcc/config/i386/mingw-w64.h | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fc6cf1d3828c..cd29b148d6e1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-28  Kai Tietz  <kai.tietz@onevision.com>
+
+	* config/i386/mingw-w64.h (LINK_SPEC): Add
+	separating space between commands.
+
 2009-07-28  Jan Hubicka  <jh@suse.cz>
 
 	PR tree-optimization/40759
diff --git a/gcc/config/i386/mingw-w64.h b/gcc/config/i386/mingw-w64.h
index 7996f69adc05..e38418f7dcda 100644
--- a/gcc/config/i386/mingw-w64.h
+++ b/gcc/config/i386/mingw-w64.h
@@ -56,7 +56,7 @@ along with GCC; see the file COPYING3.  If not see
 #endif
 
 #undef LINK_SPEC
-#define LINK_SPEC SUB_LINK_SPEC "%{mwindows:--subsystem windows} \
+#define LINK_SPEC SUB_LINK_SPEC " %{mwindows:--subsystem windows} \
   %{mconsole:--subsystem console} \
   %{shared: %{mdll: %eshared and mdll are not compatible}} \
   %{shared: --shared} %{mdll:--dll} \
-- 
GitLab