Makefile.am (libstdc++-symbols.ver): Only remove comment lines if they are at the beginning of lines (with optional...

* 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
This commit is contained in:
Jakub Jelinek 2012-02-28 10:28:18 +01:00 committed by Jakub Jelinek
parent 85998a9305
commit 9396206b54
3 changed files with 9 additions and 2 deletions

View 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.

View 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

View 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 \