From 903252aadbc70177af4ab891a8854e9e252e293d Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 1 Nov 2012 00:22:53 +0000 Subject: Build SH backtrace with -funwind-tables. --- sysdeps/sh/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps') diff --git a/sysdeps/sh/Makefile b/sysdeps/sh/Makefile index cf18dedc45..bb7c553620 100644 --- a/sysdeps/sh/Makefile +++ b/sysdeps/sh/Makefile @@ -1,3 +1,7 @@ ifeq ($(subdir),gmon) sysdep_routines += _mcount endif + +ifeq ($(subdir),debug) +CFLAGS-backtrace.c += -funwind-tables +endif -- cgit 1.4.1