[Crash-utility] [PATCH] extensions, ptdump: Build with RPM_OPT_FLAGS.

Inoguchi, Yuki inoguchi.yuki at jp.fujitsu.com
Wed Sep 14 08:03:44 UTC 2016


Indoh-san,

The current ptdump-debuginfo package has no debug information.
Please merge this patch.
---
ptdump.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ptdump.mk b/ptdump.mk
index 685bd57..ffc43e6 100644
--- a/ptdump.mk
+++ b/ptdump.mk
@@ -43,7 +43,7 @@ ptdump.so: $(TARGET_CFILES) $(INCDIR)/defs.h $(SUBDIR)/map.h
 ifeq ($(ARCH),UNSUPPORTED)
        @echo "ptdump: architecture not supported"
 else
-       gcc $(CFLAGS) $(TARGET_CFLAGS) $(COMMON_CFLAGS) -nostartfiles -shared -rdynamic -o $@ $(TARGET_CFILES)
+       gcc $(RPM_OPT_FLAGS) $(CFLAGS) $(TARGET_CFLAGS) $(COMMON_CFLAGS) -nostartfiles -shared -rdynamic -o $@ $(TARGET_CFILES)
 endif

 debug: COMMON_CFLAGS+=-DDEBUG




More information about the Crash-utility mailing list