Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc clean all the temporary and other files in...
details: https://anonhg.NetBSD.org/src/rev/b46c403408ef
branches: trunk
changeset: 996766:b46c403408ef
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Feb 08 03:59:34 2019 +0000
description:
clean all the temporary and other files in a build.
diffstat:
external/gpl3/gcc/lib/libstdc++-v3/Makefile | 13 ++++++++-----
external/gpl3/gcc/usr.bin/backend/Makefile | 9 +++++----
2 files changed, 13 insertions(+), 9 deletions(-)
diffs (76 lines):
diff -r 5e6cc07ca677 -r b46c403408ef external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile Fri Feb 08 03:08:00 2019 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile Fri Feb 08 03:59:34 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2019/02/06 02:57:39 christos Exp $
+# $NetBSD: Makefile,v 1.42 2019/02/08 03:59:34 mrg Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -18,22 +18,25 @@
COPTS.random.cc+= ${${ACTIVE_CC} == "clang":? -mrdrnd :}
.endif
+SYMBOLS= libstdc++-symbols.ver
.if ${MKPIC} != "no"
-libstdc++-symbols.ver:
+${SYMBOLS}:
cat ${DIST}/libstdc++-v3/config/abi/pre/gnu.ver ${G_port_specific_symbol_files} | \
${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
+CLEANFILES+= ${SYMBOLS}
+
.if ${MKPICLIB} != "no"
-libstdc++_pic.a:: libstdc++-symbols.ver
+libstdc++_pic.a:: ${SYMBOLS}
.else
-libstdc++.a:: libstdc++-symbols.ver
+libstdc++.a:: ${SYMBOLS}
.endif
LDFLAGS+= -Wl,-O1 \
-Wl,--gc-sections \
- -Wl,--version-script=libstdc++-symbols.ver
+ -Wl,--version-script=${SYMBOLS}
.endif
CXXFLAGS.clang+= -stdlib=libstdc++ -std=c++11 -D_GLIBCXX_ABI_TAG_CXX11=
diff -r 5e6cc07ca677 -r b46c403408ef external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile Fri Feb 08 03:08:00 2019 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile Fri Feb 08 03:59:34 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2019/02/07 05:28:38 mrg Exp $
+# $NetBSD: Makefile,v 1.54 2019/02/08 03:59:34 mrg Exp $
LIBISPRIVATE= yes
@@ -48,7 +48,7 @@
# Independent generation programs.
#
CLEANFILES+= gengenrtl genrtl.h \
- gengtype gtyp-gen.h gtype-desc.c gtype-desc.h \
+ gengtype gtyp-gen.h gtype-brig.h gtype-desc.c gtype-desc.h \
gtype-c.h gtype-cp.h gtype-f.h gtype-objc.h \
genflags genflags.h \
gencheck tree-check.h \
@@ -404,7 +404,8 @@
./genattrtab ${G_md_file} insn-conditions.md \
-A${.TARGET}.tmp -Dinsn-dfatab.c.tmp -Linsn-latencytab.c.tmp && \
mv ${.TARGET}.tmp ${.TARGET}
-CLEANFILES+= insn-attrtab.c insn-dfatab.c insn-latencytab.c
+CLEANFILES+= insn-attrtab.c insn-dfatab.c insn-latencytab.c \
+ insn-dfatab.c.tmp insn-latencytab.c.tmp
# genopinit has two output files
insn-opinit.h: insn-opinit.c
@@ -414,7 +415,7 @@
./genopinit ${G_md_file} insn-conditions.md \
-hinsn-opinit.h.tmp -c${.TARGET}.tmp && \
mv ${.TARGET}.tmp ${.TARGET}
-CLEANFILES+= insn-opinit.h insn-opinit.c
+CLEANFILES+= insn-opinit.h insn-opinit.c insn-opinit.h.tmp
LDFLAGS.genautomata+= -lm
Home |
Main Index |
Thread Index |
Old Index