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'.
This commit is contained in:
parent
7465a21b9e
commit
568fe08d4a
|
@ -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 @@ COPTS.random.cc+= ${${ACTIVE_CC} == "clang":? -mrdrnd :}
|
|||
.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
|
||||
|
||||
|
|
Loading…
Reference in New Issue