aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/Makefile.in
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2004-08-20 23:52:08 +0000
committerJason Merrill <jason@redhat.com>2004-08-20 23:52:08 +0000
commit52cf6c1262f59dc5ef7f83e0f128a2624b0ce579 (patch)
treec078ccf4961c9b53105c77b5fd2b2e15ea090947 /libstdc++-v3/include/Makefile.in
parent3e80d17ee7dd75d5ad30a5ed7b686c8d06601d89 (diff)
* include/Makefile.am (/gthr.h): Don't add
_GLIBCXX_ to #pragma lines. * include/Makefile.in: Update. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@86343 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/Makefile.in')
-rw-r--r--libstdc++-v3/include/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/include/Makefile.in b/libstdc++-v3/include/Makefile.in
index 8ff8fc747aa..cdf305dddaa 100644
--- a/libstdc++-v3/include/Makefile.in
+++ b/libstdc++-v3/include/Makefile.in
@@ -882,7 +882,8 @@ ${host_builddir}/c++config.h: ${top_builddir}/config.h \
echo "#endif // _CXXCONFIG_" >>$@
${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
- sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
+ sed -e '/^#pragma/b' \
+ -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
-e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
< ${toplevel_srcdir}/gcc/gthr.h > $@