File irssi-xmpp-optflags.patch of Package irssi-xmpp
diff --git a/config.mk b/config.mk
index 5acae70..6b55c3f 100644
--- a/config.mk
+++ b/config.mk
@@ -25,11 +25,13 @@ LIBS = ${LIB_LIBS}
# flags
CFLAGS += -fPIC -DUOFF_T_LONG
LDFLAGS += -shared
+OPTFLAGS += -ggdb
# debug
#CFLAGS += -std=c99 -W -g -Wall -Wno-unused-parameter
#CFLAGS += -Wno-deprecated-declarations
#CFLAGS += -Wno-cast-function-type
+CFLAGS += $(OPTFLAGS)
# compiler and linker
CC ?= cc