Blame SOURCES/pmdk-1.12.1-use_ddebug_instead_of_debug_cflags.patch

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