[Crash-utility] [PATCH] extensions, ptdump: Build with RPM_OPT_FLAGS.
Takao Indoh
indou.takao at jp.fujitsu.com
Wed Sep 14 23:46:39 UTC 2016
Hi Inoguchi-san,
Thank you for your patch. I'll test this patch and merge it if
there is no problem.
Thanks,
Takao Indoh
On 2016/09/14 17:03, Inoguchi, Yuki/井ノ口 雄生 wrote:
> 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