void-packages/srcpkgs/openjdk8/patches/007_8207057-pr3613.patch

20 lines
779 B
Diff

# HG changeset patch
# User andrew
# Date 1532526839 -3600
# Wed Jul 25 14:53:59 2018 +0100
# Node ID 66087a86ded39c2595dc61223fa03671ff051e33
# Parent 2f2d2af6fa5c44e67e0a9987f56392315a1e4b64
8207057, PR3613: No debug info for assembler files
diff -Nru openjdk.orig/hotspot/make/linux/makefiles/gcc.make openjdk/hotspot/make/linux/makefiles/gcc.make
--- openjdk.orig/hotspot/make/linux/makefiles/gcc.make 2018-12-21 00:55:33.407545727 +0000
+++ openjdk/hotspot/make/linux/makefiles/gcc.make 2018-12-21 01:14:40.357592769 +0000
@@ -339,6 +339,7 @@
# DEBUG_BINARIES uses full -g debug information for all configs
ifeq ($(DEBUG_BINARIES), true)
CFLAGS += -g
+ ASFLAGS += -g
else
DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH))
ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)