Patchwork [libstdc++] : Fix PR/57212

login
register
mail settings
Submitter Kai Tietz
Date May 8, 2013, 7 p.m.
Message ID <CAEwic4ZoaqAfxbhbAHGdF37SXOH7n9cJVUO5zLzNNzs2bhftLw@mail.gmail.com>
Download mbox | patch
Permalink /patch/242634/
State New
Headers show

Comments

Kai Tietz - May 8, 2013, 7 p.m.
Hi,

see for details http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57212

ChangeLog libstdc++

2013-05-08  Andoni Morales Alastruey <ylatuya@gmail.com>

    PR libstdc++/57212
    * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
    to __MINGW32__.
    * include/Makefile: Regenerated.

I will apply this patch as obvious fix for Andoni.

Regards,
Kai

From 694df461711448770000326f4943bb147b3fc810 Mon Sep 17 00:00:00 2001
From: Andoni Morales Alastruey <ylatuya@gmail.com>
Date: Wed, 8 May 2013 15:30:00 +0200
Subject: [PATCH] libstdc++: fix define for MINGW32

---
 libstdc++-v3/include/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am
index e6de256..06c1497 100644
--- a/libstdc++-v3/include/Makefile.am
+++ b/libstdc++-v3/include/Makefile.am
@@ -1125,6 +1125,7 @@  ${host_builddir}/gthr.h:
${toplevel_srcdir}/libgcc/gthr.h stamp-${host_alias}
     sed -e '/^#pragma/b' \
         -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
         -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
+        -e 's/_GLIBCXX___MINGW32_GLIBCXX___/__MINGW32__/g' \
         -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
         < $< > $@