mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
libstdc++: Remove unwanted STDC_HEADERS macro from c++config.h [PR79147]
Similar to r16-4034-g1953939243e1ab, this comments out another macro that Autoconf adds to the generated config.h but which is not wanted in the c++config.h file that we install. There's no benefit to defining _GLIBCXX_STDC_HEADERS in user code, so we should just prevent it from being defined. libstdc++-v3/ChangeLog: PR libstdc++/79147 PR libstdc++/103650 * include/Makefile.am (c++config.h): Adjust sed command to comment out STDC_HEADERS macro. * include/Makefile.in: Regenerate.
This commit is contained in:
committed by
Jonathan Wakely
parent
181e7bea46
commit
0959f0e0ce
@@ -1424,7 +1424,7 @@ ${host_builddir}/c++config.h: ${CONFIG_HEADER} \
|
||||
-e '/PACKAGE/!s/VERSION/_GLIBCXX_VERSION/g' \
|
||||
-e 's/WORDS_/_GLIBCXX_WORDS_/g' \
|
||||
-e 's/LT_OBJDIR/_GLIBCXX_LT_OBJDIR/g' \
|
||||
-e 's/STDC_HEADERS/_GLIBCXX_STDC_HEADERS/g' \
|
||||
-e 's,^#.*STDC_HEADERS,// &,' \
|
||||
-e 's/_DARWIN_USE_64_BIT_INODE/_GLIBCXX_DARWIN_USE_64_BIT_INODE/g' \
|
||||
-e 's/_FILE_OFFSET_BITS/_GLIBCXX_FILE_OFFSET_BITS/g' \
|
||||
-e 's/_LARGE_FILES/_GLIBCXX_LARGE_FILES/g' \
|
||||
|
||||
@@ -1901,7 +1901,7 @@ ${host_builddir}/c++config.h: ${CONFIG_HEADER} \
|
||||
-e '/PACKAGE/!s/VERSION/_GLIBCXX_VERSION/g' \
|
||||
-e 's/WORDS_/_GLIBCXX_WORDS_/g' \
|
||||
-e 's/LT_OBJDIR/_GLIBCXX_LT_OBJDIR/g' \
|
||||
-e 's/STDC_HEADERS/_GLIBCXX_STDC_HEADERS/g' \
|
||||
-e 's,^#.*STDC_HEADERS,// &,' \
|
||||
-e 's/_DARWIN_USE_64_BIT_INODE/_GLIBCXX_DARWIN_USE_64_BIT_INODE/g' \
|
||||
-e 's/_FILE_OFFSET_BITS/_GLIBCXX_FILE_OFFSET_BITS/g' \
|
||||
-e 's/_LARGE_FILES/_GLIBCXX_LARGE_FILES/g' \
|
||||
|
||||
Reference in New Issue
Block a user