Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/lib/libstdc++-v3 fix the grep pattern for ...
details: https://anonhg.NetBSD.org/src/rev/4dbebca6c88a
branches: trunk
changeset: 360959:4dbebca6c88a
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Apr 07 22:17:52 2018 +0000
description:
fix the grep pattern for inside a makefile. fixes build issue
reported by thorpej on tech-toolchain - we both found the same
fix around the same time.
XXX: kamil says solaris-type hosts will fail here as they need
XXX: 'egrep' not 'grep -E'.
diffstat:
external/gpl3/gcc/lib/libstdc++-v3/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r eccc25b43375 -r 4dbebca6c88a external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile Sat Apr 07 21:43:26 2018 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile Sat Apr 07 22:17:52 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2018/02/07 02:30:39 mrg Exp $
+# $NetBSD: Makefile,v 1.33 2018/04/07 22:17:52 mrg Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -21,7 +21,7 @@
.if ${MKPIC} != "no"
libstdc++-symbols.ver:
cat ${DIST}/libstdc++-v3/config/abi/pre/gnu.ver ${G_port_specific_symbol_files} | \
- ${TOOL_GREP} -E -v '^[ ]*#(#| |$)' | \
+ ${TOOL_GREP} -E -v '^[ ]*#(#| |$$)' | \
${CXX} -I${DESTDIR}/usr/include/g++ -E -P -include ${.CURDIR}/arch/${LIBSTDCXX_MACHINE_ARCH}/c++config.h - > \
${.TARGET}.tmp && mv ${.TARGET}.tmp ${.TARGET} && rm -f ${.TARGET}.tmp
Home |
Main Index |
Thread Index |
Old Index