Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-10]: src/external/gpl3/gcc/usr.bin Pull up following revision(s) ...
details: https://anonhg.NetBSD.org/src/rev/526627ab9bb5
branches: netbsd-10
changeset: 373381:526627ab9bb5
user: martin <martin%NetBSD.org@localhost>
date: Sun Feb 05 12:44:40 2023 +0000
description:
Pull up following revision(s) (requested by mrg in ticket #65):
external/gpl3/gcc/usr.bin/Makefile.inc: revision 1.35
for MKDEBUG builds, set CXXFLAGS += -g1 for all GCC binaries.
reduces the size of a non-x11 i386 build by 38% - 992MiB -> 612MiB,
and likely similar reductions elsewhere. it also reduced the build
time by about 3%, perhaps from less IO to write and less data to
compress. for amd64, the size was reduced 1137MiB -> 741MiB, about
35%, though i don't have timing guesses here.
note that these are sizes of .gz not .xz (i enable pigz for my
builds), and this probably has a much greater benefit for xz builds
as the sets creation phase is much slower there.
diffstat:
external/gpl3/gcc/usr.bin/Makefile.inc | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 40371a631c6b -r 526627ab9bb5 external/gpl3/gcc/usr.bin/Makefile.inc
--- a/external/gpl3/gcc/usr.bin/Makefile.inc Wed Feb 01 19:00:10 2023 +0000
+++ b/external/gpl3/gcc/usr.bin/Makefile.inc Sun Feb 05 12:44:40 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.34 2021/12/15 13:28:29 christos Exp $
+# $NetBSD: Makefile.inc,v 1.34.2.1 2023/02/05 12:44:40 martin Exp $
.ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
_EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -43,6 +43,11 @@
CXXFLAGS+= -std=gnu++98
+# Reduce debugging for these extremely large objects.
+.if ${MKDEBUG:Uno} != "no"
+CXXFLAGS+= -g1
+.endif
+
GNUHOSTDIST= ${DIST}
BUILD_PREFIX= ${C_BUILD_PREFIX}
Home |
Main Index |
Thread Index |
Old Index