Blame SOURCES/pmdk-1.12.1-use_ddebug_instead_of_debug_cflags.patch

c97d95
--- pmdk-1.12.1/src/Makefile.inc.orig	2022-10-17 11:06:39.232365095 -0400
c97d95
+++ pmdk-1.12.1/src/Makefile.inc	2022-10-17 11:09:28.751365095 -0400
c97d95
@@ -73,14 +73,10 @@ endif
c97d95
 DEFAULT_CFLAGS += -Wno-deprecated-declarations
b0ef64
 
b0ef64
 ifeq ($(DEBUG),1)
b0ef64
-# Undefine _FORTIFY_SOURCE in case it's set in system-default or
b0ef64
-# user-defined CFLAGS as it conflicts with -O0.
b0ef64
-DEBUG_CFLAGS += -Wp,-U_FORTIFY_SOURCE
b0ef64
-DEBUG_CFLAGS += -O0 -ggdb -DDEBUG
b0ef64
 LIB_SUBDIR = /pmdk_debug
b0ef64
 OBJDIR = debug
b0ef64
 else
b0ef64
-DEFAULT_CFLAGS += -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
b0ef64
+DEFAULT_CFLAGS += -O2 -g -D_FORTIFY_SOURCE=2
b0ef64
 LIB_SUBDIR =
b0ef64
 OBJDIR = nondebug
b0ef64
 endif