aboutsummaryrefslogtreecommitdiff
path: root/devel/mingw32-gcc/files/patch-gcc_gcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/mingw32-gcc/files/patch-gcc_gcc.c')
-rw-r--r--devel/mingw32-gcc/files/patch-gcc_gcc.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/mingw32-gcc/files/patch-gcc_gcc.c b/devel/mingw32-gcc/files/patch-gcc_gcc.c
new file mode 100644
index 000000000000..6535fbfe92b8
--- /dev/null
+++ b/devel/mingw32-gcc/files/patch-gcc_gcc.c
@@ -0,0 +1,17 @@
+--- gcc/gcc.c.orig 2018-07-10 04:43:12 UTC
++++ gcc/gcc.c
+@@ -693,12 +693,12 @@ proper position among the other output f
+ #define PLUGIN_COND_CLOSE ""
+ #endif
+ #define LINK_PLUGIN_SPEC \
+- "%{"PLUGIN_COND": \
++ "%{" PLUGIN_COND ": \
+ -plugin %(linker_plugin_file) \
+ -plugin-opt=%(lto_wrapper) \
+ -plugin-opt=-fresolution=%u.res \
+ %{!nostdlib:%{!nodefaultlibs:%:pass-through-libs(%(link_gcc_c_sequence))}} \
+- }"PLUGIN_COND_CLOSE
++ }" PLUGIN_COND_CLOSE
+ #else
+ /* The linker used doesn't support -plugin, reject -fuse-linker-plugin. */
+ #define LINK_PLUGIN_SPEC "%{fuse-linker-plugin:\