We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-Zdebuginfo-compression
1 parent 80f9737 commit 83a1681Copy full SHA for 83a1681
scripts/Makefile.debug
@@ -35,10 +35,12 @@ endif
35
36
ifdef CONFIG_DEBUG_INFO_COMPRESSED_ZLIB
37
DEBUG_CFLAGS += -gz=zlib
38
+DEBUG_RUSTFLAGS += -Zdebuginfo-compression=zlib
39
KBUILD_AFLAGS += -gz=zlib
40
KBUILD_LDFLAGS += --compress-debug-sections=zlib
41
else ifdef CONFIG_DEBUG_INFO_COMPRESSED_ZSTD
42
DEBUG_CFLAGS += -gz=zstd
43
+DEBUG_RUSTFLAGS += -Zdebuginfo-compression=zstd
44
KBUILD_AFLAGS += -gz=zstd
45
KBUILD_LDFLAGS += --compress-debug-sections=zstd
46
endif
0 commit comments