]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.am (libstdc++-symbols.ver): Only remove comment lines if they are at the...
authorJakub Jelinek <jakub@redhat.com>
Tue, 28 Feb 2012 09:28:18 +0000 (10:28 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 28 Feb 2012 09:28:18 +0000 (10:28 +0100)
* src/Makefile.am (libstdc++-symbols.ver): Only remove comment lines
if they are at the beginning of lines (with optional whitespace before
#).
* src/Makefile.in: Regenerated.

From-SVN: r184621

libstdc++-v3/ChangeLog
libstdc++-v3/src/Makefile.am
libstdc++-v3/src/Makefile.in

index 08f82bade405021c169224ca2c73205303367544..9d038f2b7fba49572b72016d011f602823bde3a0 100644 (file)
@@ -1,3 +1,10 @@
+2012-02-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * src/Makefile.am (libstdc++-symbols.ver): Only remove comment lines
+       if they are at the beginning of lines (with optional whitespace before
+       #).
+       * src/Makefile.in: Regenerated.
+
 2012-02-27  Jakub Jelinek  <jakub@redhat.com>
 
        * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
index f3ca0d7960e8f06e72fa840fa727d2754efc2c8c..eb80bfecdd7d14b5e8514eace306fa48c364c0f9 100644 (file)
@@ -115,7 +115,7 @@ libstdc++-symbols.ver:  ${glibcxx_srcdir}/$(SYMVER_FILE) \
            rm tmp.top tmp.bottom; \
          fi; \
        fi
-       $(EGREP) -v '#(#| |$$)' $@.tmp | \
+       $(EGREP) -v '^[         ]*#(#| |$$)' $@.tmp | \
          $(COMPILE) -E -P -include config.h - > $@ || (rm -f $@ ; exit 1)
        rm -f $@.tmp
 
index 17a6fb281a9b472c4e65b4d98060791cde9f92bd..34c0a3156eda01875848abc44507caad88947570 100644 (file)
@@ -776,7 +776,7 @@ vpath % $(top_srcdir)
 @ENABLE_SYMVERS_TRUE@      rm tmp.top tmp.bottom; \
 @ENABLE_SYMVERS_TRUE@    fi; \
 @ENABLE_SYMVERS_TRUE@  fi
-@ENABLE_SYMVERS_TRUE@  $(EGREP) -v '#(#| |$$)' $@.tmp | \
+@ENABLE_SYMVERS_TRUE@  $(EGREP) -v '^[         ]*#(#| |$$)' $@.tmp | \
 @ENABLE_SYMVERS_TRUE@    $(COMPILE) -E -P -include config.h - > $@ || (rm -f $@ ; exit 1)
 @ENABLE_SYMVERS_TRUE@  rm -f $@.tmp
 @ENABLE_SYMVERS_SUN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver-sun : libstdc++-symbols.ver \