This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Make sure symbol version script is writeable
- From: Jim Blandy <jimb at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 07 May 2007 14:11:29 -0700
- Subject: Make sure symbol version script is writeable
If the source tree has been made read-only, the libstdc++-v3 build
dies trying to construct src/libstdc++-symbols.ver.
libstdc++-v3/ChangeLog:
2007-05-07 Jim Blandy <jimb@codesourcery.com>
* libstdc++-v3/src/Makefile.am (libstdc++-symbol.ver): Make
sure the build tree copy of libstdc++-symbol.ver is writeable.
* libstdc++-v3/src/Makefile.in: Regenerated.
Index: libstdc++-v3/src/Makefile.am
===================================================================
--- libstdc++-v3/src/Makefile.am (revision 124502)
+++ libstdc++-v3/src/Makefile.am (working copy)
@@ -32,6 +32,7 @@
libstdc++-symbols.ver: ${glibcxx_srcdir}/$(SYMVER_FILE) \
$(port_specific_symbol_files)
cp ${glibcxx_srcdir}/$(SYMVER_FILE) ./libstdc++-symbols.ver
+ chmod +w ./libstdc++-symbol.ver
if test "x$(port_specific_symbol_files)" != x; then \
if grep '^# Appended to version file.' \
$(port_specific_symbol_files) /dev/null > /dev/null 2>&1; then \