all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 6458cecb31848d6db4b39305bf99293da547edc8 4271 bytes (raw)
name: gnu/packages/patches/mrustc-disable-debug.patch 	 # note: path name is non-authoritative(*)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
 
diff -ru mrustc-0.10-orig/Makefile mrustc-0.10/Makefile
--- mrustc-0.10-orig/Makefile	2022-09-13 07:49:26.299978699 -0400
+++ mrustc-0.10/Makefile	2022-09-13 07:52:19.243970927 -0400
@@ -38,9 +38,9 @@
 # - Disable deleting intermediate files
 .SECONDARY:
 
-LINKFLAGS := -g
+LINKFLAGS := 
 LIBS := -lz
-CXXFLAGS := -g -Wall
+CXXFLAGS := -Wall
 CXXFLAGS += -std=c++14
 #CXXFLAGS += -Wextra
 CXXFLAGS += -O2
diff -ru mrustc-0.10-orig/tools/common/Makefile mrustc-0.10/tools/common/Makefile
--- mrustc-0.10-orig/tools/common/Makefile	2022-09-13 07:49:26.335978698 -0400
+++ mrustc-0.10/tools/common/Makefile	2022-09-13 07:50:58.243974567 -0400
@@ -11,7 +11,7 @@
 BIN := ../../bin/common_lib.a
 OBJS = toml.o path.o debug.o
 
-CXXFLAGS := -Wall -std=c++14 -g -O2
+CXXFLAGS := -Wall -std=c++14 -O2
 
 CXXFLAGS += $(CXXFLAGS_EXTRA)
 
diff -ru mrustc-0.10-orig/tools/dump_hirfile/Makefile mrustc-0.10/tools/dump_hirfile/Makefile
--- mrustc-0.10-orig/tools/dump_hirfile/Makefile	2022-09-13 07:49:26.335978698 -0400
+++ mrustc-0.10/tools/dump_hirfile/Makefile	2022-09-13 07:51:02.723974366 -0400
@@ -15,7 +15,7 @@
 OBJS := main.o
 
 LINKFLAGS := -g -lpthread -lz
-CXXFLAGS := -Wall -std=c++14 -g -O2
+CXXFLAGS := -Wall -std=c++14 -O2
 CXXFLAGS += -I ../common -I ../../src -I ../../src/include
 
 CXXFLAGS += $(CXXFLAGS_EXTRA)
diff -ru mrustc-0.10-orig/tools/minicargo/build.cpp mrustc-0.10/tools/minicargo/build.cpp
--- mrustc-0.10-orig/tools/minicargo/build.cpp	2022-09-13 07:49:26.335978698 -0400
+++ mrustc-0.10/tools/minicargo/build.cpp	2022-09-13 07:47:19.567984395 -0400
@@ -956,7 +956,7 @@
             }
         }
     }
-    if( true /*this->enable_debug*/ ) {
+    if( false /*this->enable_debug*/ ) {
         args.push_back("-g");
         args.push_back("--cfg"); args.push_back("debug_assertions");
     }
@@ -1106,7 +1106,7 @@
     args.push_back("--crate-type"); args.push_back("bin");
     args.push_back("-o"); args.push_back(outfile);
     args.push_back("-L"); args.push_back(this->get_output_dir(true).str()); // NOTE: Forces `is_for_host` to true here.
-    if( true )
+    if( false )
     {
         args.push_back("-g");
     }
diff -ru mrustc-0.10-orig/tools/minicargo/Makefile mrustc-0.10/tools/minicargo/Makefile
--- mrustc-0.10-orig/tools/minicargo/Makefile	2022-09-13 07:49:26.335978698 -0400
+++ mrustc-0.10/tools/minicargo/Makefile	2022-09-13 07:51:07.011974173 -0400
@@ -16,7 +16,7 @@
 OBJS := main.o build.o manifest.o repository.o cfg.o
 
 LINKFLAGS := -g -lpthread
-CXXFLAGS := -Wall -std=c++14 -g -O2
+CXXFLAGS := -Wall -std=c++14 -O2
 CXXFLAGS += -I ../common
 
 CXXFLAGS += $(CXXFLAGS_EXTRA)
diff -ru mrustc-0.10-orig/tools/mir_opt_test/Makefile mrustc-0.10/tools/mir_opt_test/Makefile
--- mrustc-0.10-orig/tools/mir_opt_test/Makefile	2022-09-13 07:49:26.339978698 -0400
+++ mrustc-0.10/tools/mir_opt_test/Makefile	2022-09-13 07:51:10.555974014 -0400
@@ -15,7 +15,7 @@
 LIBS := ../../bin/mrustc.a ../../bin/common_lib.a
 
 LINKFLAGS := -g -lpthread -lz
-CXXFLAGS := -Wall -std=c++14 -g -O2
+CXXFLAGS := -Wall -std=c++14 -O2
 CXXFLAGS += -I ../common -I ../../src/include -I ../../src -I .
 CXXFLAGS += -Wno-misleading-indentation	# Gets REALLY confused by the TU_ARM macro
 
diff -ru mrustc-0.10-orig/tools/standalone_miri/Makefile mrustc-0.10/tools/standalone_miri/Makefile
--- mrustc-0.10-orig/tools/standalone_miri/Makefile	2022-09-13 07:49:26.339978698 -0400
+++ mrustc-0.10/tools/standalone_miri/Makefile	2022-09-13 07:51:14.731973826 -0400
@@ -15,7 +15,7 @@
 OBJS += miri.o miri_extern.o miri_intrinsic.o
 
 LINKFLAGS := -g -lpthread
-CXXFLAGS := -Wall -std=c++14 -g -O2
+CXXFLAGS := -Wall -std=c++14 -O2
 CXXFLAGS += -I ../common -I ../../src/include -I .
 CXXFLAGS += -Wno-misleading-indentation	# Gets REALLY confused by the TU_ARM macro
 
diff -ru mrustc-0.10-orig/tools/testrunner/Makefile mrustc-0.10/tools/testrunner/Makefile
--- mrustc-0.10-orig/tools/testrunner/Makefile	2022-09-13 07:49:26.339978698 -0400
+++ mrustc-0.10/tools/testrunner/Makefile	2022-09-13 07:51:24.819973373 -0400
@@ -5,8 +5,8 @@
 BIN := ../../bin/testrunner
 OBJS := main.o path.o
 
-LINKFLAGS := -g
-CXXFLAGS := -Wall -std=c++14 -g -O2
+LINKFLAGS := 
+CXXFLAGS := -Wall -std=c++14 -O2
 
 CXXFLAGS += $(CXXFLAGS_EXTRA)
 LINKFLAGS += $(LINKFLAGS_EXTRA)

debug log:

solving 6458cecb31 ...
found 6458cecb31 in https://yhetil.org/guix/874jxahlpi.fsf@netris.org/

applying [1/1] https://yhetil.org/guix/874jxahlpi.fsf@netris.org/
diff --git a/gnu/packages/patches/mrustc-disable-debug.patch b/gnu/packages/patches/mrustc-disable-debug.patch
new file mode 100644
index 0000000000..6458cecb31

1:13: trailing whitespace.
 
1:15: trailing whitespace.
+LINKFLAGS := 
1:28: trailing whitespace.
 
1:31: trailing whitespace.
 
1:33: trailing whitespace.
 
Checking patch gnu/packages/patches/mrustc-disable-debug.patch...
Applied patch gnu/packages/patches/mrustc-disable-debug.patch cleanly.
warning: squelched 11 whitespace errors
warning: 16 lines add whitespace errors.

index at:
100644 6458cecb31848d6db4b39305bf99293da547edc8	gnu/packages/patches/mrustc-disable-debug.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.