pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/rust Fix CONFIGURE_ARGS for disabling debugging. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8bbeb5045a34
branches:  trunk
changeset: 343009:8bbeb5045a34
user:      he <he%pkgsrc.org@localhost>
date:      Mon Oct 28 14:38:41 2019 +0000

description:
Fix CONFIGURE_ARGS for disabling debugging.  Build fix so no bump.

diffstat:

 lang/rust/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r c49c8194c5a7 -r 8bbeb5045a34 lang/rust/Makefile
--- a/lang/rust/Makefile        Mon Oct 28 13:45:35 2019 +0000
+++ b/lang/rust/Makefile        Mon Oct 28 14:38:41 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.121 2019/10/28 08:56:14 jperkin Exp $
+# $NetBSD: Makefile,v 1.122 2019/10/28 14:38:41 he Exp $
 
 DISTNAME=      rustc-1.38.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -119,12 +119,13 @@
 # Bootstrapping on NetBSD/powerpc requires no debug-info from rustc
 # (both for amd64->powerpc built and powerpc->powerpc built bootstrap bits)
 CONFIGURE_ARGS+=       --disable-debug
-CONFIGURE_ARGS+=       --disable-debuginfo-tests
 CONFIGURE_ARGS+=       --disable-debug-assertions
-CONFIGURE_ARGS+=       --disable-debuginfo
-CONFIGURE_ARGS+=       --disable-debuginfo-lines
-CONFIGURE_ARGS+=       --disable-debuginfo-only-std
-CONFIGURE_ARGS+=       --disable-debuginfo-tools
+CONFIGURE_ARGS+=       --disable-llvm-release-debuginfo
+CONFIGURE_ARGS+=       --debuginfo-level=0
+CONFIGURE_ARGS+=       --debuginfo-level-rustc=0
+CONFIGURE_ARGS+=       --debuginfo-level-std=0
+CONFIGURE_ARGS+=       --debuginfo-level-tools=0
+CONFIGURE_ARGS+=       --debuginfo-level-tests=0
 .endif
 
 # Only build the ARM target on/for this host, due to resource constraints



Home | Main Index | Thread Index | Old Index