[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#657580: hiredis: Please remove -ggdb option from DEBUG



Source: hiredis
Version: 0.10.1-3
Severity: wishlist
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

I am now trying to run Debian on Renesas SH(sh4) CPU.
  http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4

hiredis attaches -ggdb to the DEBUG option.
Since gdb has not been imprimented yet, SH4 fails in building, when
this option is attached.
Could  you remove this option?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff --git a/Makefile b/Makefile
index e87e5a4..23ca53a 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ HIREDIS_MINOR=10
 CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
 OPTIMIZATION?=-O3
 WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings
-DEBUG?= -g -ggdb
+DEBUG?= -g
 REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG)
 REAL_LDFLAGS=$(LDFLAGS)
 

Reply to: