summaryrefslogtreecommitdiff
path: root/external/mit
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2023-02-07 06:19:03 +0000
committermrg <mrg@NetBSD.org>2023-02-07 06:19:03 +0000
commit13dc7464d718eae33feba4376714bb2a9240ca2f (patch)
tree7921329ea4718272aeda1c9e34952209e60bd8f7 /external/mit
parent3d82cc8bd8e60613160774f57af5f0b3687935a2 (diff)
apply -g1 to the gallium sources as well. saves another couple of 100MB.
Diffstat (limited to 'external/mit')
-rw-r--r--external/mit/xorg/lib/gallium.old/Makefile8
-rw-r--r--external/mit/xorg/lib/gallium/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/external/mit/xorg/lib/gallium.old/Makefile b/external/mit/xorg/lib/gallium.old/Makefile
index e0eb694d1ed..dcfd356fea0 100644
--- a/external/mit/xorg/lib/gallium.old/Makefile
+++ b/external/mit/xorg/lib/gallium.old/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/09/29 18:58:04 rjs Exp $
+# $NetBSD: Makefile,v 1.5 2023/02/07 06:19:03 mrg Exp $
# Transparent struct/union broken
NOLINT=yes
@@ -31,6 +31,12 @@ CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm \
CFLAGS+= -pthread
LDFLAGS+= -pthread
+# Reduce debugging for these extremely large objects.
+.if ${MKDEBUG:Uno} != "no"
+CXXFLAGS+= -g1
+CFLAGS+= -g1
+.endif
+
GALLIUM_SUBDIRS= \
auxiliary \
auxiliary/cso_cache \
diff --git a/external/mit/xorg/lib/gallium/Makefile b/external/mit/xorg/lib/gallium/Makefile
index 65aab457e0e..c9d03cfa686 100644
--- a/external/mit/xorg/lib/gallium/Makefile
+++ b/external/mit/xorg/lib/gallium/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2021/07/11 20:52:06 mrg Exp $
+# $NetBSD: Makefile,v 1.49 2023/02/07 06:19:03 mrg Exp $
# Link the gallium mega driver.
@@ -28,6 +28,12 @@ CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm \
CFLAGS+= -pthread
LDFLAGS+= -pthread
+# Reduce debugging for these extremely large objects.
+.if ${MKDEBUG:Uno} != "no"
+CXXFLAGS+= -g1
+CFLAGS+= -g1
+.endif
+
GALLIUM_SUBDIRS= \
auxiliary \
auxiliary/cso_cache \